Problems setting up a dial plan

<< < (2/3) > >>

ianobi:
Page 1 of the link suggested by jimates contains a digit map worked out by RonR, so most of us cannot improve on that :)

However, with your configuration having FPL on sp1, then you need to set:

Physical Interfaces -> PHONE Port -> Primary Line : SP1 Service

RonR's digit map will then need to be on Service Providers -> ITSP Profile A -> General -> DigitMap

Also, where RonR uses <**1> you should use <**2> to direct long distance calls out to voip.ms on sp2.

If at some future date you wish to swith to voip exclusively, then you may need to consider changes to Phone Port OutboundCallRoute to direct services such as 911 to sp1.

Good luck! Let us know how it goes.

maddawg:
So I created the following dialplan for Service Providers -> ITSP Profile A -> General -> DigitMap:

(911|*98|1xxxxxxxxxx |1905xxxxxxx|1289xxxxxxx|1365xxxxxxx|1519xxxxxxx|1226xxxxxxx|1343xxxxxxx|1613xxxxxxx|
1438xxxxxxx|1514xxxxxxx|1450xxxxxxx|1579xxxxxxx|1902xxxxxxx|1506xxxxxxx|1647xxxxxxx|
1709xxxxxxx|1403xxxxxxx|1780xxxxxxx|1587xxxxxxx|1778xxxxxxx|1236xxxxxxx|1250xxxxxxx|
1604xxxxxxx|1204xxxxxxx|1306xxxxxxx|1639xxxxxxx|1418xxxxxxx|1581xxxxxxx|1867xxxxxxx|1807xxxxxxx|1800xxxxxxxxxx|188xxxxxxxxxx|<1416>xxxxxxx| <**2>1xxxxxxxxxx|<**2>011xx.|(Mipd)|[^*]@@.'@'@@.)

I have run into a problem, whenever I attempt to call a 1876 number (long distance call to Jamaica), its directed through SP1 (FPL service) and not SP2 (voip.ms).  How do I setup a automatic dial for all long distance calls through SP2(voip.ms).

ianobi:
Almost there!

It looks like you need to remove 1xxxxxxxxxx from the first part of the digit map (911|*98|1xxxxxxxxxx |... Also be careful not to leave spaces. The 1xxxxxxxxxx matches anything begining with 1 that does not match the more specific codes, so it's catching your 1876 code before <**2>1xxxxxxxxxx can catch it and send it to sp2.

The <**2>1xxxxxxxxxx is designed to catch anything that does not match your specific codes and then prepend **2 to the number which will then send it to sp2.

Anyhow, that's how I see it, but I'm no RonR :)



edit: append changed to prepend. Small things matter here!

maddawg:
Thank you for catching the space, now I see how the dialplan is read.  I'm getting there slowly.

ianobi:
We learn from our mistakes - I have made plenty  8)

Navigation

[0] Message Index

[#] Next page

[*] Previous page