How to make both PH and PH2 ring *ONLY* if both lines are in an "On Hook" state?
Dazzlin:
Given up trying to search for this one guys!
I won't bore you with my set up, but long story short is that on both of my providers set up to ring to independent ports: SP1 = PH and SP2 = PH2. Simple.
Now, what I want to try and do:
When it comes to SP2 I want to try and set things to say "If I get a call come in AND if port 1 is in a "on-hook" state, it will ring both ports at the same time (PH & PH2). If not, ring PH2 only.
For any Excel geeks out there, essentially the script I am trying to write is kinda like:
=IF(Ph State="OnHook",[Ring Ph & Ph2],[Ring Ph2])
Or, if you're not Excel minded, "If Ph State is "OnHook", Then Ring Ph & Ph2, If NOT Ring Ph2"
This is because I'm in a place with 2-line telephones and, other than how it's currently set up, it get's a little annoying hearing the call-waiting beep when you're on a call AND having line 2 ring as well.
Anyways, I can't figure out how to do this. I suspected it was using the "If Busy ring Dial..." feature, but then I wondered if line 1 was really considered to be busy as, even though it's on a call, it's kinda not busy as it can call-wait and beep in your ear.
Anyways, any help and assistance is appreciated.
Thanks so much all :)
SO....
Usetheforceobiwan:
You might want to look at your ITSP's options for call handling if the DID is busy. You may be able to divert to the second ITSP via URI redirect.
Dazzlin:
Hey Usetheforceobiwan,
Thanks for the reply. See, that's still the same 'kinda' concern... If a call comes in, is PH really "busy" per-say? Because, in a similar way, as long as you haven't reached the maximum number of calls that line can handle (2 normally), it would still try to ring through I would imagine...
That's kinda the reason I had the "if state of PH is on-hook, then ring" kinda idea...
Thanks for the feedback though...
I would imagine there must me a Excel-similar string I can put in the "X_InboundCallRoute" box somehow... At the moment I already have that set up as if to say "If the callers number is less than 7 digits long, deny the call, if not ring ph" (This was done to put a stop to the SIP Hacker-Calls...)
That dial string is {(x|xx|xxx|xxxx|xxxxx|xxxxxx):},{ph}
There is a way... I just don't know it ;)
QBZappy:
@Dazzlin
Did you try setting Ph1 to MaxSessions = 1 to avoid the 2nd call making announcement beep.
Dazzlin:
Hey QBZappy,
Thanks for the reply. Good idea - but I still want to be able to have 2 sessions on that line as it's a more frequently used service.
LOL - I kinda feel like a petulant child saying "I want it my way! Waaa!"...
I guess it's more the feeling of accomplishment if we can figure if this can be done ;)
As an idea, does anyone know if there is a particular code or terminology for "On Hook" state. PH = Line 1, SP1 = Service Provider 1, etc... I wonder if there is a way to describe "On Hook" or "Off Hook" so we can piece a string together ourselves...?
Hmm...
Navigation
[0] Message Index
[#] Next page