[asterisk-users] Asterisk Manager Interface: Auto-answer of 'Originate' command

Moises Silva moises.silva at gmail.com
Thu Jan 11 10:40:28 MST 2007


Please read the voip-info.org documentation regarding Originate
action, there you will find how to set variables on the originate
channel.

On 1/11/07, Steve Langstaff <steve.langstaff at citel.com> wrote:
> Does anyone know of a way to make an originate request coming over the
> management interface (e.g. AstTapi click-to-dial) include the relevant
> Alert-Info SIP headers to enable the originating phone to auto-answer?
>
> I've tried setting up a custom context (see below), but the dial plan is
> only entered AFTER the originating call is answered, so the SIP header
> is added to the terminating call leg, not the originating call leg.
>
> [click-to-call-custom]
> exten => _X.,1,NoOp("Click to Call")
> exten => _X.,2,SetVar(_ALERT_INFO=info=alert-autoanswer)
> exten => _X.,3,Goto(from-internal,${EXTEN},1)
>
> ______________________________
> Steve Langstaff
>
> Citel.
> The VoIP Migration Company.(tm)
> _______________________________________________
> --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
>


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"


More information about the asterisk-users mailing list