International calls via SP2

<< < (3/4) > >>

azrobert:
The last rule in the outbound route is "{(Mpli):pli}". This rule compares the dialed number to the Primary Line's DigitMap and if it gets a match it will route the call to the Primary Line. If you want to route a call to somewhere other than the Primary Line, you have to add a rule before the last. After changing the Primary Line to SP1, you can add rules like the one I did or you can change the SP2 DigitMap and use it to route calls to SP2.

SP2 DigitMap: (xxx)

xxx will include 911.

Outbound Route:
{(Msp2):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}

or

{(xxx):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}


Change SP1 digit map rule 011xx. to 011xxS3
When you match a rule that ends with "x." you will have a 10 second routing delay. The S3 will decrease it to 3 seconds. You need a delay so the call won't be routed before entering all the digits.

artm:
Thank you very much for the input; learning a lot here.

So, all I did was add {(xxx):sp2}, to the PHONE PORT > OutboundCallRoute, now having:

{(xxx):sp2},{(011xx.):sp1},{911: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}


PrimaryLine is still SP1.

So, now I have;

1. SP1: all outbound calls except in #2.
2. SP2: outbound 911 and Callcentric extensions (xxx).
3. SP2: all inbound

This allows me to try TeleCallMart on SP1 for better all around rates than Callcentric, especially international rates to Greece. Plus, I can easily revert to my CC setup by deleting {(xxx):sp2},{(011xx.):sp1}, and setting primary as SP2.

Never realized how easy this can be!



artm:
Revisiting this, I recently had an issue with Telecallmart and switched back to Callcentric for outgoing calls. Instead of editing the phone port parameters, I'm wondering if I can do this instead:

1. normally, SP1 is Telecallmart, all outbound.
2. If there's an issue, dial "99" before the number and have it go through SP2, Callcentric.
3. PhonePort>PrimaryLine is SP1. I do NOT want to edit this when I have the issue.

So, Phone Port>OutboundCallRoute is:

{(xxx):sp2},{(011xx.):sp1},{911: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}

How can I edit this to do what I want? It seems I can add:
{(99011xx.):sp1} to handle international calls

...but what do I add for non-international calls?

azrobert:
Your rule has 2 problems. It doesn't strip the 99 prefix and it routes the call to SP1, not SP2.

You could use the OBi default of **2 followed by any number to route a call to SP2. This will use rule {(<**2:>(Msp2)):sp2}".

If you want to use the 99 prefix use this rule to route any number to SP2:
{(<99:>xx.):sp2}

artm:
Beautiful.

So, {(<99:>xx.):sp2} will route all calls starting with 99 to SP2 and strip the 99 as well?

That's exactly what I want, to control the call from the handset and not edit the Obi.

Navigation

[0] Message Index

[#] Next page

[*] Previous page