M() option to Dial
- From: "Kevin P. Fleming" <kpfleming (at) digium.com>
- Date: Fri, 14 Jul 2006 19:36:22 -0500 (CDT)
----- 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.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users