[Asterisk-Users] why this macro works Only with a * Stable Version? ; -(

Kevin P. Fleming kpfleming at digium.com
Sun Jul 24 15:16:26 MST 2005


xAD wrote:
> Hi all, i have a weird problem, i need to know why this 'simple' macro works Only with a * STABLE version (1.0.0.x to 1.0.0.9) , if i try it with a CVS HEAD version.. don't works ;-(
> 
> Thanks in advance.
> 
> [local]
> 
> include => default
> 
> [macro-tono_simulato]
> exten => s,1,Set(DIALED=${ARG1})
> exten => s,2,Set(TOCONTEXT=${ARG2})
> exten => s,3,Set(STRIP=${ARG3})
> exten => s,4,Set(TONES=dial)  
> exten => s,5,Goto(tono_simulato_pausa|s|1)

This macro _cannot_ work in version 1.0.x, because Set() is not 
supported there (only SetVar()).



More information about the asterisk-users mailing list