News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Solved: PAP2 -> Obi110 dial plan

Started by mrjoe, September 02, 2012, 11:19:47 AM

Previous topic - Next topic

ianobi

mrjoe,

I decided to have one more look at this after looking at a similar problem for my own set up. I think RonR's original post was intending for the ** codes to be used from the pap2.

This is your SP1> X_InboundCallRoute, modified to allow dialling without ** codes:

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

I have left in **9 as Mpp matches any nine digit number and may cause conflicts. This relies on there being no conflicts between digit maps. I removed Mli as it is already there within Mtg1.

I would copy and save your original plan, maybe put it in a word doc. Copy and paste this plan to try it. Easy then to get back to the original.

Of course, by now you may have gone a completely different route  :)

mrjoe

Hi Ianobi,
I really appreciate your attempts at solving this issue.
The new digit map did not achieve the desired results however.

I've officially given up on trying to find a solution.

I think it must be it is a lower level digit map that cannot evoke a SP change on its own.

I now have another problem.
I'll open a new Post  :)

mrjoe

Finally figured this one out with something I read about trunks.
A trunk will also check each dial plan and when it finds a match it will use that particular VG/SP.
So I broke up my Line dial plan, took the * prefixes out and put the remaining digits in each VG/SP that I wanted it to dial through.

Then I changed Trunk1's digit map to include all of the VGs that I wanted to use.

Everything now works perfectly.
COTs cannot have **Xs prepended automatically but they can have the Trunk do the work for them!

I'll post a few examples when I get home.

mrjoe

Just saw this RonR Post:

http://www.obitalk.com/forum/index.php?topic=3094.msg20656#msg20656

QuoteThe InboundCallRoute rules generated by the OBiTALK Web Portal for Circle of Trust have some limitations and shortcomings:


1. When single-stage dialing is used, the called number is not processed though the OBi's PrimaryLine DigitMap.  As a result, no validation is done and expected transformations do not occur.  The rules should instead be:


Voice Services -> OBiTALK Service -> InboundCallRoute:

{(290123456|200123456|300123456)>(Mpli):pli},{(290123456|200123456|300123456):aa},{ph}

where pli is the OBi's PrimaryLine name (sp1, sp2, or li).


2. Single-stage dialing is limited to using the OBi's PrimaryLine.  Service Route Access Codes (**1, **2, etc.) are not supported.

These limitations and shortcomings do not exist if the configuration described in Single-Stage Dialing Through Any OBi Trunk is used instead of Circle of Trust.

mrjoe

Here is an example of my Setup now:

Trunk Group 1
li1,sp2,vg1,vg4,vg7,vg6,vg8,sp1

DigitMap
((Mli)|(Msp2)|(Mvg1)|(Mvg4)|(Mvg7)|(Mvg6)|(Mvg8)|(Msp1))

Voice Gateway 4
(01xxxxxxxxx|<0191>4[2-9]xxxxx|02[34]xxxxxxxxx|028[2346-9]xxxxxxx|0292xxxxxxx|03[0347]xxxxxxxx|07xxxxxxxxx)

Voice Gateway 5
(<0:972>[3-9]x.|<0:972>2[1-9]x.|9<0:72>[2-489]xxxxxxx|9<0:72>[57]xxxxxxxx)

None of the Digit Maps can have xx. In them except the last one.
So if you don't have a detailed dial plan and usually dial a **x prefix and end your number with # this won't fork for you.

ianobi

Somehow I knew that you would not give up on this  :)

We can all learn a lot from your innovative use of trunk groups.

You deserve the RonR medal for Digit Mapping  8)

QBZappy

ianobi,

Quote from: ianobi on October 20, 2012, 07:24:20 AM
You deserve the RonR medal for Digit Mapping  8)

Not a bad idea. We can start using this medal symbolically to memorialize RonR's contribution to this forum. Ron must be chuckling somewhere every time we mention him on this forum.  :D He could send us an ack to let us know that our pings are received.
Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.

mrjoe

#27
Hi Ianobi,
Thanks for the Complements. :)

The best part of this way of routing calls is that you need no S2/S4 etc. which delays dialing, You just put the SP/VG with the longer numbers earlier in the Group.  It is also cleaner as you can see exactly which numbers are using which SP/VG

Also, there is no need for me to dial Area Codes or Country Codes anymore.
(For the US I dial (1-9)xx xxx xxxx without the preceding 001 or 1
For Tyneside 0191 4 area code, I just dial starting with a 4xx xxxx for Lancashire 0161 7, 7xx xxxx & for London 020 3/7/8 just 3xxx xxxx or 7xxx xxxx which are the numbers that people living in these areas can dial, for other parts of the UK 01/2/3xxxxxxxxx. For the 02 Central District of Israel I dial xxx xxxx, elsewhere 03/4/7/8/9 xxx xxxx, for any other countries I dial 00xx..

For those interested or if it may help someone:
This used to be my Digit Map when I requested help to shorten it. http://www.obitalk.com/forum/index.php?topic=3961.0

(<02>[2356789]xxxxxx<#>|02[23456789]xxxxxx<#>|0[49]xxxxxxx<#>|
03[125689]xxxxxx<#>|08[1235689]xxxxxx<#>|
087[456789]xxxxx<#>|084[1267890]xxxxx<#>|0[57]xxxxxxxx<#>|
1[278]xxxxxxxx<#>|*xxxx<#>S2|*xxxxx<#>|
1xx<#>S2|1xxx<#>|12[12]2xxxx<#>|1255xxx<#>|0044[123]xxxxxxxxx<#>|
0<044>292xxxxxxx<#>|
0<044>28[2346789]xxxxxxx<#>|0<044>3[0347]xxxxxxxx<#>|<0044191>4xxxxxx<#>|0<044>20xxxxxxxx<#>|0<044>1xxxxxxxxx<#>|<**3>00447xxxxxxxxx|<**3>00xx.|<**7>0(500|800|808)xxxxxxS2|<**7>0(500|800|808|870)xxxxxxx|<**6>084[345]xxxxxxx|<**6>087[123]xxxxxxx|<**2>1xxxxxxxxxx|<00:**2>1xxxxxxxxxx)

This is all that is left:
Trunk1:
TrunkList: vg6,vg4,vg7,li1,vg3,vg8,sp1,sp2,vg1
DigitMap: ((Mvg6)|(Mvg4)|(Mvg7)|(Mli)|(Mvg3)|(Mvg8)|(Msp1)|(Msp2)|(Mvg1))

Digit Maps:
(US SP)-Mvg6: ([2-9]xxxxxxxxx)
(UK SP)-Mvg4: (<0191>4xxxxxx|<0161>7xxxxxx|0[13]xxxxxxxxx|02[1-9]xxxxxxxx|07xxxxxxxxx)
(UK SP)-Mvg7: (<020>[378]xxxxxxx|020xxxxxxxx)
(IL Cell)-Mli: (00xx.|<02>xxxxxxx<#>|0[23489][3-9]xxxxxx<#>|05[0-578]xxxxxxx<#>|07xxxxxxxx<#>|1xxxxxxxxx<#>|*xxxxx<#>|*xxxx<#>|1[1-9]xx<#>|1[1-9]x<#>|12[12]2xxxx<#>|1255xxx<#>)
(IL SP)-Mvg3: (05[0-578]xxxxxxx)
(UK Localphone)-Mvg8: (<9722>[3-9]xxxxxx|<0:972>[23489][3-9]xxxxxx|<0:972>7xxxxxxxx|08[47][1-9]xxxxxxx)
(UK Voipfone)-Msp1: (154|166|1571|301xxxxx)
(UK Comms)-Msp2: (08xxxxxxxxx|08xxxxxxxx)
(didlogic Int.)-Mvg1: (<00:>xx.)

I use different VGs for calling different countries to show the CLI of my numbers in that country or City.