please help: OutboundCallRoute
YongChen:
I have a Obi110 with the following settings:
SP1 with FreePhoneLine, primary line.
SP2 with Google Voice.
I add {(1xxxxxxxxxx):sp2} in the beginning of PHONE Port::OutboundCallRoute, try to do :
- If dial xxx-xxx-xxxx, go to SP1
- If dial 1-xxx-xxx-xxxx, go to SP2
It does not work. When I dial xxx-xxx-xxxx, it always goes to SP2. Please help. (All other settings are default.)
Thanks,
Felix:
What's the full value in Phone - OutboundCallRoute? Also, what are the values in ITSP Profile A General - DigitMap and ITSP Profile B General - DigitMap? I know you said "default" - but still...
YongChen:
Quote from: Felix on January 13, 2013, 11:53:34 pm
What's the full value in Phone - OutboundCallRoute? Also, what are the values in ITSP Profile A General - DigitMap and ITSP Profile B General - DigitMap? I know you said "default" - but still...
Thanks for the reply. My settings are:
PHONE Port::DigitMap = ([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
PHONE Port::OutboundCallRoute = {911:sp1},{(1xxxxxxxxxx):sp2},{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
SP1 Digitmap = (1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
SP2 Digitmap = (1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
azrobert:
SP1 Digitmap = (xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
SP2 Digitmap = (1xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
Change {(1xxxxxxxxxx):sp2} to {(xxxxxxxxxx):sp1}.
If you want it to go out sp1 as 1xxxxxxxxxx:
Change {(1xxxxxxxxxx):sp2} to {(<1>xxxxxxxxxx):sp1}.
The reason your config didn't work is because the digit map is processed first.
In the digit map you add a prefix of "1", so when the call route is processed the outbound number always has a prefix "1".
azrobert:
This is better:
SP1 Digitmap = (xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
SP2 Digitmap = (1xxxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
Add {(xxxxxxxxxx):sp1}, before {(1xxxxxxxxxx):sp2}.
If you want it to go out sp1 as 1xxxxxxxxxx:
Add {(<1>xxxxxxxxxx):sp1}, before {(1xxxxxxxxxx):sp2}.
The reason your config didn't work is because the digit map is processed first.
In the digit map you add a prefix of "1", so when the call route is processed the outbound number always has a prefix "1".
Navigation
[0] Message Index
[#] Next page