hi
my requirement is like this
if some calls asterisk user .the caller should hear audio message like this
please press 1 to answer the call
press 2 to hangup the call.
extens.conf file
[check]
exten => _X.,1,answer
exten => _X.,2,Dial(SIP/test,20,M(t))
exten => _X.,3,hangup
[macro-t]
exten => s,n,Background(followme/options)
exten => s,n,WaitExten(10)
exten => 1,1,NoOP() ; connect the caller
exten => 2,1,Set(MACRO_RESULT=CONTINUE) ;hangup
exten => x,1,Set(MACRO_RESULT=CONTINUE)
exten => i,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=CONTINUE)
its not working if i press 2 call is got connected
why any idea ?
thanks