Summary:ASTERISK-03997: Pattern matching with "ex-girlfriend" logic does not accept variable substitution
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2005-04-27 00:04:40Date Closed:2011-06-07 14:12:00
Versions:Frequency of
Description:Normal extensions will accept variable substitution, however, pattern matches using ex-girlfriend logic will not.  This would be useful in macros when trying to do an automatic voicemail login prompt for dialing your own number.<br />
<br />
the extensions parsing system actually reports the callerid match and displays the entire variable as ${VARIABLE} as the callerid number match. <br />
<br />
This matching does not work, although upon approach of that extension in the dialplan, it lists it in the parsing as a callerid match extension.<br />
<br />
The correct method would be to parse the variable(s) at execution time, just as we do for normal extensions..
Comments:By: Russell Bryant (russell) 2005-05-18 22:46:13

I wrote a patch that has fixed this in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:35:26.000-0600

Repository: asterisk
Revision: 5725

U   branches/v1-0/pbx/pbx_config.c

r5725 | russell | 2008-01-15 15:35:26 -0600 (Tue, 15 Jan 2008) | 2 lines

perform variable substitution earlier so it can be used for the cidmatch as well (bug ASTERISK-3997)