Adam James Dale
2006-Feb-21 16:00 UTC
[Asterisk-Users] Matching variables in extensions.conf
Hi All, Just wondering, is it possible to set a variable and have it matched as below? I have verified the variable as being set correctly in a previous macro, but I doesnt match when I dial it. :( If I replace the {$CP} with the number it is matched. exten => ${CP},3,Dial(SIP/${GP}${CP},${RING-TIME})
Nope, you cant do that, you should use patterns instead. On 2/21/06, Adam James Dale <aj_dale82@hotmail.com> wrote:> Hi All, > > Just wondering, is it possible to set a variable and have it matched as > below? > I have verified the variable as being set correctly in a previous macro, but > I doesnt > match when I dial it. :( If I replace the {$CP} with the number it is > matched. > > exten => ${CP},3,Dial(SIP/${GP}${CP},${RING-TIME}) > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >