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

Moises Silva moises.silva at gmail.com
Fri Jan 12 08:45:33 MST 2007


On 1/11/07, Steve Langstaff <steve.langstaff at citel.com> wrote:
> So, to be clear, I have to do this in the application using the
> management interface (which I don't happen to control) rather than in
> the Asterisk dialplan (which I do)?
Yes, because the channel you originate does not exists in the PBX yet,
until answered. So, Im not sure how are you originating the channel,
but the interface originating the channel, should allow you to do this
type of things.

>
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> > Moises Silva
> > Sent: 11 January 2007 17:40
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [asterisk-users] Asterisk Manager Interface:
> > Auto-answer of'Originate' command
> >
> > 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"
> > _______________________________________________
> > --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
> >
> _______________________________________________
> --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