OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: CubsWin on July 31, 2016, 03:35:20 PM

Title: What is wrong with my OutboundCallRoute?
Post by: CubsWin on July 31, 2016, 03:35:20 PM
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!
Title: Re: What is wrong with my OutboundCallRoute?
Post by: azrobert on July 31, 2016, 04:34:04 PM
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}"
Title: Re: What is wrong with my OutboundCallRoute?
Post by: CubsWin on July 31, 2016, 05:03:26 PM
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!