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?