To specify an extension in a context, the following syntax is used. If more than one application is be called in an extension, they can be listed in order inside of a block.
Two optional items have been added to the AEL syntax, that allow the specification of hints, and a keyword, regexten, that will force the numbering of priorities to start at 2.
The ability to make extensions match by CID is preserved in AEL; just use '/' and the CID number in the specification. See below.
The regexten must come before the hint if they are both present.
CID matching is done as with the extensions.conf file. Follow the extension name/number with a slash and the number to match against the Caller ID:
In the above, the 819/7079953345 extension will only be matched if the CallerID is 7079953345, and the dialed number is 819. Hopefully you have another 819 extension defined for all those who wish 819, that are not so lucky as to have 7079953345 as their CallerID!