[Asterisk-Users] Manager API Call Origination & Variables

Brian West brian at bkw.org
Mon Nov 15 14:10:49 MST 2004


Ok to cut confusion here

Its:
Variable: _ALERT_INFO
Value: somevalue

Its always var/val via manager.

bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Peter Svensson
> Sent: Monday, November 15, 2004 2:50 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Manager API Call Origination & Variables
> 
> On Mon, 15 Nov 2004, Peter Osborne wrote:
> 
> > I am using the Asterisk Manager API to originate calls and it is working
> well,
> > when a call is placed the local phone rings, once you pick it up you can
> here
> > the call ringing the other end. Now, I am using Polycom IP 300 and I
> have
> > them setup to auto-answer if I set the ALERT_INFO variable to "Ring
> Answer".
> > This works fine from my dial plan but I can't figure out how to set
> > ALERT_INFO from the Manager API. Basically I want calls that are
> originated
> > from the Manager API to automatically take place on the speaker phone.
> >
> > I have tried
> >
> > Action: SetVar
> > Channel: sip/pete_desk
> > Variable: ALERT_INFO
> > Value: Ring Answer
> 
> The channel does not exist prior to the Originate action. However, you may
> be able to pass variables in the originate command itself:
> 
> Action: Originate
> Channel: sip/12345
> Exten: 1234
> Context: default
> Variable: _ALERT_INFO=Ring Answer|SomeOtherVar=SomeOtherValue
> 
> This may work.
> 
> Peter
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list