Help understanding Outbound Call Routing
xpr722946ghd:
OK, I've looked over several threads, and been looking at the Admin guide and Tutorial on Digit Maps & Call Routing. I'm still a little confused.
When I pick up the phone and dial a number, what order are things processed?
I have programmed SP1 to transform digits. e.g.
01xxx xxxxxx becomes 044441xxx xxxxxx. That works fine.
However I want SP2 set up as my default outbound route.
Therefore my Outbound Call Routing for Phone 1 needs to direct any 01 or 02 number to SP1 for digit transformation and dialing.
But I can't make it work :(
When SP1 is default, the {(xxxxxxxxxx(Msp2)):sp2} section allows North American calls to route to SP2. 911 & 933 calls are also routing to SP2 fine (even when SP1 is set to default).
What am I doing wrong with the 01/02 piece of code?
{911:sp2},{933:sp2},{(0[1-2]xx.(Msp1)):sp1},{(xxxxxxxxxx(Msp2)):sp2},{([1-9]x?*(Mpli)):pp},{(<##:>):li},{(<#:>):ph2},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}
My ultimate goal
UK calls (07, 01, 02) numbers get routed to SP1
10 digit North American calls routed to SP2
11 digit North American calls routed to SP4 (Google Voice)
UK toll free calls (0800, 0808, 0500) routed via SP3
CAN & US toll free calls routed to SP1
International calls (outside of UK & North America) routed via SP1
911 & 933 calls need to route via SP2.
All help appreciated!
Thanks in advance :)
azrobert:
Routing an outbound call is a 2 step process.
The Phone Port DigitMap validates the dialed number.
Rule (Mpli) will include the rules in primary line's DigitMap.
If the dialed number doesn't match a rule, you will receive a fast busy.
If the dialed number matches a rule in the DigitMap, the phone port OutboundCallRoute will get control and route the call to the primary line using rule {(Mpli):pli}
Quote
However I want SP2 set up as my default outbound route.
Do you want to change the PrimaryLine to SP2 or place SP2 1st in the OutboundCallRoute?
I would leave SP1 as the PrimaryLine.
"{(0[1-2]xx.(Msp1)):sp1}" is not coded correctly. If ITSP A DigitMap contains "123" then you are checking for "0[1-2]xx.123".
My Suggestion:
ITSP A DigitMap:
(<07:011447>xxxxxxxxx|<0:04444>[1-2]xxxxxxxxx|<44:04444>[1-2]xxxxxxxxx|04444x.|011447x.)
ITSP B DigitMap:
(911|933|[2-9]xxxxxxxxx)
OutboudCallRoute:
{(Msp2):sp2},{([1-9]x?*(Mpli)):pp},{(<##:>):li},{(<#:>):ph2},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Add following to the Phone DigitMap:
|(Msp2)
Edit:
If you want to check for 01-02 numbers and what is in SP1 DigitMap, add a vertical bar like this:
"{(0[1-2]xx.|(Msp1)):sp1}"
drgeoff:
OutboundcallRouteing in a nutshell:
A list of rules which are evaluated in sequence from left to right.
Each rule has two parts separated by a colon.
If a dialled number passes through the Phone Port Digit Map, it (with any mangling done by that map) is checked against the part of the rule before the colon. If it matches the call is passed to the service provider specified in the part after the colon. If it does not match, try the next rule.
xpr722946ghd:
Thanks Gents.
Functionality is up to about 50% :D
Currently, outbound Canadian calls are routed to SP2. Perfect.
Outbound calls dialed with UK format numbers (01, 02, or 07) are routing via SP1.
933 (and I shall assume 911) correctly routing via SP2.
Next thing would be to get US bound calls to head over to SP4. Let's say I prefix all US numbers with a 1, but I leave the 1 off for all Canadian calls.
So if the number begins with a 1 and 10 other digits, it goes to SP4.
I still need some help understanding the syntax of some of these maps.
Here are my current ones :
Physical Phone 1 Digit Map
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|##|**70(Mli)|**8(Mbt)|**81(Mbt)|**82(Mbt2)|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**9(Mpp)|(Mpli)|(Msp2))
Question : what does the (Msp2) at the end do?
Physical Phone 1 Outbound Call Route
{(0[1-2]xx.|(Msp1)):sp1},{(Msp2):sp2},{([1-9]x?*(Mpli)):pp},{(<##:>):li},{(<#:>):ph2},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}
I believe this instructs and number beginning with 01 or 02 route via SP1. Assuming I also want 07 calls to go there, I would need to add that in too. Would it be {(01[127]xx.|(Msp1)):sp1}?
Also, what does the {(Msp2):sp2} instruction mean?
I also need to plan for general 011 international calls. Can I route those to SP1 by adding {011xx.|(Msp1)):sp1} into the outbound call route? How can ensure that calls to a UK 01 number are not confused with a 011 international call? Or does that even matter sine both will be passed to SP1?
So many questions. Thanks for being willing to instruct a Obi noob!
azrobert:
Quote
Next thing would be to get US bound calls to head over to SP4. Let's say I prefix all US numbers with a 1, but I leave the 1 off for all Canadian calls.
So if the number begins with a 1 and 10 other digits, it goes to SP4.
That will work.
Quote
I believe this instructs and number beginning with 01 or 02 route via SP1. Assuming I also want 07 calls to go there, I would need to add that in too. Would it be {(01[127]xx.|(Msp1)):sp1}?
Correct
Quote
Question : what does the (Msp2) at the end do?
ONLY the Phone DigitMap is used to validate the dialed number. The trunk DigitMaps are NOT used to validate numbers. The exception is the primary line's DigitMap. It is included by rule "(Mpli)". "(Msp2)" needs to be added to the Phone DigitMap so those rules will be used to validate numbers.
Are you using DigitMap rules to insert "4444" into 01 and 02 numbers?
If you include "0[1-2]xx." into the ITSP A DigitMap, you wouldn't need a separate rule for SP1, It would be handled by rule "{(Mpli):pli}'.
Navigation
[0] Message Index
[#] Next page