User avatar
By WelshPaul
#4068
Below is an updated dial-plan for use with voicehost.co.uk here in the UK:
Code: Select all
"|^(1[0-1]1)$|sip:\1@\d|d""|^(112)$|sip:\1@\d|d""|^(12[0-1]\*[2-8][0-9]{2})$|sip:\1@\d|d""|^(123)$|sip:\1@\d|d""|^(151)$|sip:\1@\d|d""|^(15[4-5])$|sip:\1@\d|d""|^(160)$|sip:\1@\d|d""|^(160)$|sip:\1@\d|d""|^(112)$|sip:\1@\d|d""|^(999)$|sip:\1@\d|d""|^(1[4-5]7[1-2])$|sip:\1@\d|d""|^(116[0-1][0-2][0-3])$|sip:\1@\d|d""|^(118[0-9]{3})$|sip:\1@\d|d""|^([2-8][0-9]{5})$|sip:01792\1@\d|d""|^(08001111)$|sip:\1@\d|d""|^(0845464[0-9])$|sip:\1@\d|d""|^(0[1-9][0-9]{9})$|sip:\1@\d|d""|^(1410[1-9][0-9]{9})$|sip:\1@\d|d""|^(14700[1-9][0-9]{9})$|sip:\1@\d|d""|^00([1-9]*)$|sip:+\1@\d""|^14100([1-9]*)$|sip:+\1@\d""|^147000([1-9]*)$|sip:+\1@\d""|^(\*[2-8][0-9]{2})$|sip:\1@\d|d""|^(\*0\#[2-8][0-9]{2})$|sip:\1@\d|d""|^(\*\*[2-8][0-9]{2})$|sip:\1@\d|d""|^(\#\#[2-8][0-9]{2})$|sip:\1@\d|d"
The dial-plan above includes support for all but one of Voicehost's service numbers as listed here (See Note 1 below), It also allows local calls to be made without the need to enter your local area code first (See Note 2 below).

NOTE 1:
Unfortunately due to the limited features of the Snom dial-plan, it isn't possible to add any delay to matched strings. Therefore it isn't possible to add both Voicehost service numbers 123 (speaking clock) and 1234 (plays a message to confirms that you have set up your phone correctly) to the dial-plan. I decided to included the number 123 (speaking clock) in the above dial-plan, if you'd rather make use of the number 1234 then simply look for 123 in the dial-plan above and replace it with 1234.

NOTE 2:
In the above dial-plan string you will find the following: "|^([2-8][0-9]{5})$|sip:01792\1@\d|d"

What does it do? This allows me to call local numbers here in my home town of Swansea without the need for me to enter my local 01792 area code first. Make sure you either remove this syntax from the the above dial-plan string if you'd rather dial local numbers just like you would on a mobile phone or replace the '01792' part with your own local area code.

Example: If your local area code is shorter than the local area code used by myself above, e.g. 0121 then simply change 'sip:01792' to 'sip:0121' and replace '{5}' with '{6}'.
Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests

Sorry I mean to say if I do not stop autoboot the …

How to Evaluate an IP Phone System?

CISCO SPA500S

Create a call group and add the three extensions t…

Landline bridge advice

Thanks for tremendous efforts on this Paul. I'm s…