[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@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
RE: [Asterisk-Users] Pattern matching in extensions.conf
What is 00 and other numbers? Are different destinations prefix ?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mickey Binder Sent: vendredi 18 mars 2005 12:39 To: Asterisk maillist (asterisk-users@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@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 ___ Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] Pattern matching in extensions.conf
What is 00 and other numbers? Are different destinations prefix ?? Nope, it's just the last 2 digits of some 8 digit numbers that isn't supposed to be reachable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mickey Binder Sent: vendredi 18 mars 2005 12:39 To: Asterisk maillist (asterisk-users@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@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 ___ Asterisk-Users mailing list Asterisk-Users@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 ___ Asterisk-Users mailing list Asterisk-Users@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