News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

What is wrong with my OutboundCallRoute?

Started by CubsWin, July 31, 2016, 03:35:20 PM

Previous topic - Next topic

CubsWin

I am using the following OutboundCallRoute, attempting to route outbound toll-free calls through my SP2 provider and all other calls through the primary SP1:

{911:sp1},{933:sp1},{(<1>8(00|88|77|66|55|44|33|22)xxxxxxx):sp2},{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Something isn't working correctly though, because my outbound toll-free calls are still using SP1. Can anyone identify what I am doing wrong?

Please let me know if there is any other information I need to provide to answer this question. Thank you!

azrobert

#1
Here is how things work:
The Phone Port DigitMap will first validate the dialed number.
The last rule in the DigitMap "(Mpli)" points to the Primary Line's DigitMap.
Rule "<1>xxxxxxxxxx" in the ITSP A DigitMap will validate and prefix the number with a "1".

Now the Phone OutboundCallRoute will process the number.
Rule "{(<1>8(00|88|77|66|55|44|33|22)xxxxxxx):sp2}" will not match the number because it's 11 digits now.
Change it to "{(18(00|88|77|66|55|44|33|22)xxxxxxx):sp2}"

CubsWin

Quote from: azrobert on July 31, 2016, 04:34:04 PMNow the Phone OutboundCallRoute will process the number.
Rule "{(<1>8(00|88|77|66|55|44|33|22)xxxxxxx):sp2}" will not match the number because it's 11 digits now.
Change it to "{(18(00|88|77|66|55|44|33|22)xxxxxxx):sp2}"
That seems to have done the trick. Thank you!