Hello, newbie here... I just bought and set up a new OBi110 (coming from an SPA3102, spent most of 3 days understanding the differences). Located in Canada and finally getting it to work close to what I want, but still having few issues.
I'm trying to accomplish the following:
- only using SP1 with a SIP provider (SP2 disabled)
- replace **[1-9] codes to select the output trunk with #[1-9] to increase the WAF (Wife Acceptance Factor)
- 311, 411, 611, 911 routed through PSTN (as soon as matched)
- select local numbers (friends) also routed through PSTN
- all other local numbers (10 digits) routed through VG6
- select Long Distance calls (friends) routed through VG3
- all other Long Distance calls (11 digits) routed through VG6
- all Toll Free numbers routed through VG4
- all International calls routed through VG7
- I still want to be able to force either SP1, VG[3,4,6,7] or LI by dialing #1, #3, #4, #6, #7 or #8 no matter what the number dialed
Here are my DigitMaps and OutboundcallRoutes:
Physical Interfaces -> PHONE Port -> DigitMap:
(!**5S0|[1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|[3469]11|<#8>"local_friends"|**0|***|#|#1(Msp1)|#2(Msp2)|#3(Mvg3)|#4(Mvg4)|#6(Mvg6)|#7(Mvg7)|#8(Mli)|#9(Mpp)|(Mpli))
Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|[3469]11):li},{**0:aa},{***:aa2},{(<#1:>Msp1):sp1},{(<#2:>(Msp2)):sp2},{(<#3:>(Mvg3)):vg3},{(<#4:>(Mvg4)):vg4}, {(<#6:>(Mvg6)):vg6},{(<#7:>(Mvg7)):vg7},{(<#8:>(Mli)):li},{(<#9:>(Mpp)):pp},{(Mpli):pli}
Service Providers -> ITSP Profile A -> General -> DigitMap:
(*xx.|**275*x.|<#3>"LD_friends"|<#6><1>"all_other_local_numbers"|<#6>1[2-7]xx[2-9]xxxxxx|<#4>18(00|88|77|66|55)xxxxxxx|<#7>011xx.|(Mipd)|[^*#]@@.)
where:
<#8>"local_friends" is a |-separated list of 10 digit local numbers
<#3>"LD_friends" is a |-separated list of 11 digit Long Distance numbers
<#6><1>"all_other_local_numbers" is a |-separated list of 10 digit local numbers that only specifies the local area code
The setup works for the most part, exception is I had to remove #1 in front of (Msp1) in Phone Port DigitMap and OutboundCallRoute for it was appending both #1 and #7 when I was dialing 011. Hence I am not able to force the use of SP1 by using #1
I realize my setup is not the simplest by any means, and would much appreciate all the help I can get
Thanks everyone!