T. Chan wrote:
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

TC, Just do something like:

exten => _01163.,1,Application()

Cheers,
Chris.
iax700.824.0300

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to