All pastes #72626 Raw Edit

Miscellany

public text v1 · immutable
#72626 ·published 2006-06-27 00:46 UTC
rendered paste body
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(start),Background(/etc/asterisk/call-from-campground)
exten => s,n,Goto(start)

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