oza.4h07 at gmail.com Guest
|
Posted: Thu Apr 03, 2014 9:40 am Post subject: [asterisk-users] How best to match hexadecimal values in dia |
|
|
Hi,
Quite often I told myself it would be convenient to have a dedicated letter, such as E, to match [0-9A-Ea-e] in dialplan pattern matching just like X match [0-9] or Z match [1-9].
This happens when I want to match a MAC address in my dialplan.
In this case, writing [0-9A-Ea-e] twelve times is not very pleasant.
What would you say about that ?
What is the best way to match a MAC address with Asterisk 11 and above ?
Regards |
|