[Asterisk-Users] Pattern matching in extensions.conf
Daniel Eboa
Daniel_Eboa at creolink.com
Fri Mar 18 05:14:48 MST 2005
What is 00 and other numbers? Are different destinations prefix ??
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mickey
Binder
Sent: vendredi 18 mars 2005 12:39
To: Asterisk maillist (asterisk-users at lists.digium.com)
Subject: [Asterisk-Users] Pattern matching in extensions.conf
Hello fellow * users
Hope this isn't a stupid question; I've done my research but could not
find
a proper answer.
I have 8 different destinations which I want to match. The numbers are:
###### 00
###### 20
###### 30
###### 40
###### 15
###### 35
###### 12
###### 44
Right now I've solved it by doing this:
exten => _######[0234]0,1,HangUp
exten => _######[13]5,1,HangUp
exten => ######12,1,HangUp
exten => ######44,1,HangUp
The ###### symbolises a fixed number, it's just censored away (and not
important anyway)
I was just wondering if there was a more intelligent approach, so this
could
be combined into one extension.
Best regards,
Mickey Binder
_______________________________________________
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
More information about the asterisk-users
mailing list