View Single Post
Unread 06-11-2009, 03:58 PM   #2
Senior Member
130166's Avatar
Join Date: May 2007
Location: Katwijk, The Netherlands
Posts: 133
Thanks: 57
Thanked 32 Times in 27 Posts
130166 is on a distinguished road

Depends rest of your dialing plans, but maybe this help you.

Dialplan rule:

prio: ??? (depend other rules)
pattern: _XXXXX or _XXXXXX or both? (I do not know how much digits in halifax)
comment: local
Replacement: 01422${exten}

warning: works only if you have not other dialplan rule with 5/6 digits, in that case you can give possible starting digits in pattern above or in other rule

prio: ??? (depend other rules)
pattern: _Z. (every number not starting with zero)
comment: local
Replacement: 01422${exten}

Last edited by 130166; 06-11-2009 at 04:04 PM. Reason: no zero rule
130166 is offline   Reply With Quote
The Following User Says Thank You to 130166 For This Useful Post:
paulies (06-16-2009)