Need help with dial plan
VoipAndre:
Hi,
I am located in Canada and I am a newbie with the Obi110. I have been experimenting with it trying to set it up the way I like without success! I am having issues with the dial plan ( or Digitmap ). My setup is the following:
Pots (line) as the primary, should handle all local calls ( 10 digit dial pattern xxxxxxxxxx), all toll-free numbers and also 911 service.
SP1 is GV, should handle all long distance calls ( prefix of one, 1xxxxxxxxxx )
SP2 is voip.ms, should handle overseas (011 prefix).
I have good results with a dial plan found in this forum which achieves exactly this, however, I am struggling to modify it in order to be able to force a call with SP1 or SP2. This would be used in case either GC or voip.ms is not up, or simply to give me control on which provider to use.
So to reiterate, everything besides long distance goes to POTS (LINE), by default all long distances go to GV, but a dial prefix would allow me to choose between SP1 and SP2. When the dial prefix condition is met and matched, it should also allow local and long distance calls. All x11 services, including 911 should always go to POTS, and dialing # would give you the POTS provider dial tone.
Is there anyone who could give me a hand with this? This is what I have so far (which I have not fully tested):
ITSP Profile A (Google voice)
Digitmap: (1[2-9]xx[2-9]xxxxxx)
ITSP Profile B (voip.ms)
Digitmap: (011.xx|1[2-9]xx[2-9]xxxxxx)
PHONE Port
DigitMap: ((Msp1)|(Msp2)|(Mli)|#|911)
OutboundCallRoute: {(Mli):li},{(Msp1):sp1},{(Msp2):sp2},{(<#:>|911):li}
LINE Port
(xxxxxxx|xxxxxxxxxx|18(00|88|77|66|55|44)xxxxxxx)
Can anyone help me out? I want to add that I am very interested in understanding the OBI110 dial plan config, not necessarily asking for a copy and paste solution!
Thanks!
azrobert:
You have a very good understanding of DigitMaps and Routes. You are almost there.
ITSP Profile B (voip.ms)
Digitmap: (011.xx|2[2-9]xx[2-9]xxxxxx|2xxxxxxx)
PHONE Port
DigitMap: ((Msp1)|(Msp2)|(Mli)|#|[49]11)
OutboundCallRoute: {(Mli):li},{(Msp1):sp1},{(<2:1>[2-9]xx[2-9]xxxxxx) |<2:1480>xxxxxxx)|(Msp2):sp2},{(<#:>|[49]11):li}
Use a "2" prefix to force calls out SP2. 480 for 7 digit dialing out SP2 is your local area code.
If you need other x11 numbers just add between brackets.
Did I forget anything?
VoipAndre:
Thanks for the fast reply!
in order to match x11 instead of
[49]11
I could simply do [2-9] which would match all the following: 211,311,411...911?
azrobert:
Quote from: VoipAndre on June 23, 2013, 09:34:54 am
I could simply do [2-9] which would match all the following: 211,311,411...911?
That is correct.
VoipAndre:
Umm...now I get a "No service configured error" voice prompt...
SP2 Service Status (voip.ms) shows as being registered...both on the OBI and at the voip.ms service provider webpage.
looking at the call status when the call is in progress shows that it is trying to connect to OBITALK1...
So I went to Voice services, disabled OBITALK, and then I get "There is no service available to complete your call".
Routing somewhere is not sending the call to the SP2....Any ideas on where to start looking?
Navigation
[0] Message Index
[#] Next page