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.
----- Eric \"ManxPower\" Wieling <eric@fnords.org> wrote:> [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))Sorry for the lateness of this reply... but in case you have not already figured it out, a macro does not accept DTMF and jump to different extensions within the macro (it is a not a context). When Background() sees the incoming DTMF, it will stop the playback and return a non-zero result to app_macro, which will then exit back to app_dial. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.