Solved: PAP2 -> Obi110 dial plan

(1/6) > >>

mrjoe:
I'm currently using tg1 as my default line.
it includes: li1,vg3
dial plan: (Mli)

I have AA setup to dial exactly as if I would be dialling from the Phone port, like this:

DigitMap:
([1-9]x?*@@.|[1-9]|[1-9][0-9]|<00:$1>|0|**1{t=di}(Msp1)|**2{t=di}(Msp2)|**3{t=di}(Mvg3)|**4{t=di}(Mvg4)|**6{t=di}(Mvg6)|**7{t=di}(Mvg7)|**0{t=di}(Mvg8)|**8{t=di}(Mli)|**9{t=di}(Mpp)|(Mpli))

OutboundCallRoute:
{([1-9]x?*@@.):pp},{0:ph},{(<#:>):li},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**4:>(Mvg4)):vg4},{(<**6:>(Mvg6)):vg6},{(<**7:>(Mvg7)):vg7},{(<**0:>(Mvg)):vg8},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):tg1}

Everything works perfectly.

I would like to be able to dial like that when calling through the Obi110 using a PAP2, at the moment however, I can't call without dialing a **x prefix.

SP1> X_InboundCallRoute:
{9725xxxxxxxx:aa},{(9725xxxxxxxx):aa(**688351000xxxxxx)},{pap2>(Mli):tg1},{pap2>([1-9]x?*@@.):pp},{pap2>(<#:>|1xx):li},{pap2>**0:aa},{pap2>***:aa2},{pap2>(<**1:>(Msp1)):sp1},{pap2>(<**2:>(Msp2)):sp2},{pap2>(<**3:>(Mvg3)):vg3},{pap2>(<**4:>(Mvg4)):vg4},{pap2>(<**6:>(Mvg6)):vg6},{pap2>(<**7:>(Mvg7)):vg7},{pap2>(<**8:>(Mli)):li},{pap2>(<**9:>(Mpp)):pp},{pap2>0:ph},{pap2:},{ph,vg5(pap2)}

What can I change in the above Call Route to achieve that?

Thanks

mrjoe:
This setup seems to be working now!?  ???
Only for calls which use the default line.
It will failover to vg3 when the Cellphone is not connected.

I think this setup of calls being initiated from the inbound Call Route of SP1 may be coming at too late a stage to recognise **x for choosing a line.

Anyone have any more information on this?

ianobi:
mrjoe,

Your setup is working as it should.

Calls going to tg1 will not need any ** codes because it is your Primary Line.

The only way to achieve what you want is to arrange other codes to be diverted in your Primary Line Digit Map, in this case tg1.

For example, if you included this rule in tg1 Digit Map <**1>(Msp1) numbers matching Msp1 would have **1 prepended to them and be sent out of sp1 by the OutBoundCallRoute.

To make this work you need to include this at the beginning of the sp1 InBoundCallRoute:
{pap2>(Mtg1):tg1} This could replace {pap2>(Mli):tg1} as Mli exists within Mtg1.

You might try the above as an example for Msp1. To do this for all codes coming from your pap2 would make the tg1 digit map very complicated!



mrjoe:
Thanks for that,
I'll give it a try.
Would copying and pasting Mli's content work?

What I don't understand is:
Why is putting (Mli) in tg1's Digitmap not the same as copying all the information from Mli and putting it there.

I thought using shortcuts like that allowed you to 'Host' a dial plan somewhere else while having the same effects.

mrjoe:
Hi ianobi thanks for all your help,
I tried doing what you said.

I put Line's Digit Map (and changed it to (xx.)) into tg1 changed SP1 inbound to Mtg1 etc.
Nothing has changed though.

Do you think I have something when I say that maybe Obitalk/SP1's Inboundcallroute is too low in the Hierarchy to deal with **x of the digitmap it is sent to?

AA is using {(Mpli):tg1} and it is working fine.

I'll remind you of what the Digit Plan consists of:

(2<#>S0|3S0|<972:0>[23489]xxxxxxx|<972:0>[7]xxxxxxxx|02[3-9]xxxxxx<#>|<02>[5-9]xxxxxx<#>|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<#>|00(46|34|351|48|31|39|36|30|49|33|32|43|852|86|65|90|27|41|64|353|352|613|39|54|868)xx.<#>|<**3>00xx.|<**2>1xxxxxxxxxx|<00:**2>1xxxxxxxxxx|0044[123]xxxxxxxxx<#>|0<044>1xxxxxxxxx<#>|<0044191>4xxxxxx<#>|0<044>20xxxxxxxx<#>|0<044>2[34]xxxxxxxxx<#>|0<044>28[2346-9]xxxxxxx<#>|0<044>292xxxxxxx<#>|0<044>3[0347]xxxxxxxx<#>|<0:**344>7xxxxxxxxx|<**7>0(500|800|808)xxxxxxS2|<**7>0(500|800|808|870)xxxxxxx|<**6>084[345]xxxxxxx|<**6>087[123]xxxxxxx)

Navigation

[0] Message Index

[#] Next page