OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: maddawg on January 07, 2013, 07:54:29 AM

Title: Help in simplifying dial plan.
Post by: maddawg on January 07, 2013, 07:54:29 AM
I have a obi202 and currently you sing the following dialplan:

(911|411|311|*98|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|1800xxxxxxx|188xxxxxxx|1866xxxxxxx|416xxxxxxx|<1416>xxxxxxx|<**2>1xxxxxxxxxx|<**3>1868xxxxxxx|1876xxxxxxx|1809xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)

Any help in simplifying this dialplan is appreciated.  I currently have 3 providers (google voice, voip.ms and freephoneline.ca).  Using google voice for all us and canadian calls which fall outside freephoneline call areas.  Anyhow, thanks in advance.
Title: Re: Help in simplifying dial plan.
Post by: CoalMinerRetired on January 07, 2013, 10:04:16 AM
I think you can replace this

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|1800xxxxxxx|188xxxxxxx|1866xxxxxxx|416xxxxxxx|<1416>xxxxxxx

With this

<1>(905|289|365|519|226|343|613|438|514|450|579|902|506|647|709|403|780|587|778|236|250|604|204|306|639|418|581|867|807|800|888|866)xxxxxxx

Also, you can use this in-place of the 800, 888 blah blah blah toll free numbers.

<1>8(00|88|77|66|55|44|33|22)xxxxxxx
Title: Re: Help in simplifying dial plan.
Post by: maddawg on January 07, 2013, 01:38:51 PM
thanks for the quick response....currently at work, but will try your suggestion and see how I make out tomorrow.
Title: Re: Help in simplifying dial plan.
Post by: CoalMinerRetired on January 08, 2013, 09:17:01 PM
BTW, I forgot to mention in the compacted syntax, if your intent was to force the 1, then remove the <1> and put 1 in front of each area code, e.g., (1905|1289|1365|....)xxxxxxx

If you want to make the 1 optional, then do this <1?:1>(905|289|365|....)xxxxxxx. Disclaimer, I haven't checked/tested this <1?:1> syntax but I think it will work.