[Asterisk-Users] M() option to Dial

Eric "ManxPower" Wieling eric at fnords.org
Mon Jun 26 17:00:49 MST 2006


I'm using the M() option to Dial() and having problems.  In the 
following dialplan example ANY digit exits the macro.  When the callee 
presses 1 the Noop(Reset AbsoluteTimeout(0)) does not get run.  Does 
anyone have any ideas as to what I'm doing wrong?  Asterisk 1.2.x

[extensions]
exten => 2998,1,Dial(Zap/1/5551212,,wM(answer-confirmation^20))

[macro-answer-confirmation]
exten => s,1,Noop(Set AbsoluteTimeout(${ARG1})
exten => s,n,Background(/etc/asterisk/call-from-campground)
exten => s,n,Goto(2)

exten => 1,1,Noop(Reset AbsoluteTimeout(0))

-- 
Now accepting new clients in Birmingham, Atlanta, Huntsville, 
Chattanooga, and Montgomery.



More information about the asterisk-users mailing list