[Asterisk-Users] Fast question on extension matching

T. Chan tommy.chan at utimail.com
Fri Feb 6 14:09:34 MST 2004


Dear All,

I have a very simple question but could not find any information from the
internet.

Is there anyway to match code on extensions.conf without having to specify
the number of digits?

For example, if I want to send 01163 (Philippines to a certain IP address),
is there anyway simpler to do than

exten => _01163XXXXXXXXXXXX,1,.....
exten => _01163XXXXXXXXXXX,1,.....
exten => _01163XXXXXXXXXX,1,.....
exten => _01163XXXXXXXXX,1,.....
exten => _01163XXXXXXXX,1,.....
exten => _01163XXXXXXX,1,.....

Is there any one line command that could replace having to use XXXXXX... to
match exact number of digits?

Thanks

TC

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004




More information about the asterisk-users mailing list