[Asterisk-Users] M() option to Dial

Kevin P. Fleming kpfleming at digium.com
Fri Jul 14 17:36:22 MST 2006


----- Eric \"ManxPower\" Wieling <eric at 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.




More information about the asterisk-users mailing list