Automating CLI change on Line failover
mrjoe:
I have a Trunk set up to failover to a Voip Provider when my Cell is not connected to the Xlink that is plugged in to the Line port.
I have the following Mpli:
(2<#>S0|3S0|<972:0>[23489]xxxxxxx|<972:0>[57]xxxxxxxx|02[3-9]xxxxxx<#>|<02>[5-8]xxxxxx<#>|<02>9[1-689]xxxxx<#>|<02>97[13-9]xxxx<#>|0[49]xxxxxxx<#>|03[125689]xxxxxx<#>|0[5][0-57-9]xxxxxxx<#>|07[23]xxxxxxx<#>|07[4-8]xxxxxxx<#>S2|08[135689]xxxxxx<#>|087[4-9]xxxxx<#>|084[126-90]xxxxx<#>|1[2578]xxxxxxxx<#>S2|*xxxx<#>S2|*xxxxx<#>|1xx<#>S2|1xxx<#>
|12[12]2xxxx<#>|1255xxx<#>|<**6>1[2-9]xxxxxxxxx<#>S0|0044[123]xxxxxxxxx<#>|0<044>1xxxxxxxxx<#>|<0044191>4[2-9]xxxxx<#>|0<044>20xxxxxxxx<#>|0<044>2[34]xxxxxxxxx<#>|0<044>28[2346-9]xxxxxxx<#>|0<044>292xxxxxxx<#>|0<044>3[0347]xxxxxxxx<#>|<**7>0(500|800|808)xxxxxxS2|<**7>0(500|800|808)xxxxxxx|<4>07xxxxxxxxxS0|<**0>084[345]xxxxxxx|<**0>087[123]xxxxxxx|<**7>0870xxxxxxx|<**3>00[29]x.)
And the following Phone port OCR:
{(<4:4>(Msp2)):sp2(441914567890>)},{(<9:9>(Msp2)):sp2(025678901>)},{(<2:>(Msp2)):sp2(442071234567>)},{(Mpli):pli},{([1-9]x?*(Mpli)):pp},{(<#:>|1xx):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**4:>(Mvg4)):vg4},{(<22:>(Mvg5)):vg5},{(<**6:>(Mvg6)):vg6},{(<**7:>(Mvg7)):vg7},{(<**0:>(Mvg8)):vg8},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}
Instead of prefixing calls with digits to force a certain CLI, I’d like to automate this.
The problem is I want to use the Unlimited calls on my Cell. This means the prefixing the numbers with **Xs can only kick in after the failover to SP2 otherwise it’ll bypass my Cell completely. At the moment when the outbound calls goes through SP2 in the event my phone is not connected, SP1 readjusts the dialled numbers a second time to accommodate the International dialling structure of the Voip Provider, it cannot redirect calls to another SP via **Xs at that stage however.
???
Anyone have any ideas?
ianobi:
Mrjoe,
On first look, this looks impossible. However, I’m not sure that I have a clear idea of your aims yet. Please confirm settings for:
Phone Port PrimaryLine – which trunk / sp is it?
All trunk groups – the trunk group digit maps and the digit maps of the members of each trunk group.
What is your understanding of CLI? To me it means Calling Line Identity.
mrjoe:
Hi Ianobi,
My Primary Line is tg1
The only Trunk I use is:
Trunk List: Li1,SP1
Digit Map: ((Mli)|(Msp2))
As you can see in the Phone port, I send out the desired CLI to the destination by prefixing the number with a single digit.
ianobi:
If I understand correctly then you wish for:
1. Before failover to use the rules as they are to automate CLI.
2. After failover to use a different set of rules to automate CLI.
I cannot see a way forward on this.
Some observations:
This seem very clever!
Trunk List: Li1,SP1
Digit Map: ((Mli)|(Msp2))
So when in failover Mli and Msp2 calls are directed out via sp1. Msp1 must be a big digit map! Or maybe it is xx.
In your Phone Port OCR these seem odd:
<4:4> This means replace 4 with 4. <9:9> This means replace 9 with 9.
You certainly keep us thinking :)
mrjoe:
Hi Ianobi,
Sorry, I obviously didn’t make myself clear.
When I call out I wish all calls to go out through my Mobile, Mli governs these calls.
If my Mobile is not connected, all calls go through SP2 (mistyped before, sorry).
Alternatively I can Spoof my caller ID for outgoing calls to match the country I’m calling via SP2.
I dial 4 to call UK, 9 for Israel, 2 to show my Central London number, hear another dial tone then dial the UK number without an International Prefix, SP2’s dial map deals with that.
What is wish to do is have calls which go through SP2 automatically (ie. when no mobile is connected) to reveal the correct CLI for the country I’m calling.
Quote
In your Phone Port OCR these seem odd:
<4:4> This means replace 4 with 4. <9:9> This means replace 9 with 9.
The reason for the above is to tell SP2 which country code to prefix. If the number has a 4 preceding it, it will know that it is for the UK and take away the 0 and add another 4, if it has a 9 it takes away the 0 and puts a 72 afterwards. I’m just realising now that I only had to do it for the Israeli one or English one, not both. :-[
This is my Msp2:
(<2:9725xxxxxxxx>|<0:972>[2-9]x.|9<0:72>[2-489]xxxxxxx|9<0:72>[57]xxxxxxxx|4<0:4>xxxxxxxxxx|<0:44>xxxxxxxxxx|<00:>xx.|xx.)
Navigation
[0] Message Index
[#] Next page