[Asterisk-Users] extension pattern matching

Sam Bingner sam at bingner.com
Sun May 23 14:10:44 MST 2004


I think may be able to do that with
_[a-z][a-z].

But I haven't tried it, you need to use 2 to make sure you don't overwrite
the system extensions.  As I understand the * regex implimentation, you
can't do _.[a-z]. to match any letters in dialplan anywhere, but that is
what you really wanted I think.

You could always code it in ;)
Sam

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Graham Turner
Sent: Sunday, May 23, 2004 9:09 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] extension pattern matching


dear all, was hoping someone could give me instruction on the syntax of
extension pattern matching for letters

the proposed 'dial plan' is one where any letter in the dialled digits
causes the pbx to assume we are dilaling a sip url and as such forward to
the appropraite sip service provider

was hoping to avoid the plan in john todd's example that assumes anything
prefixed with 3 is a sip address

gt

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3047 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040523/4639cc51/smime.bin


More information about the asterisk-users mailing list