[Asterisk-Users] Manager API Call Origination & Variables

Peter Svensson psvasterisk at psv.nu
Mon Nov 15 14:56:47 MST 2004


On Mon, 15 Nov 2004, Brian West wrote:

> Ok to cut confusion here
> 
> Its:
> Variable: _ALERT_INFO
> Value: somevalue
> 
> Its always var/val via manager.


Not in the Originate action it isn't. This is what both the help 
  show manager command originate 
say and what reading the source indicates. From the help:

        Variable: Channel variable to set (VAR1=value1|VAR2=value2)

Peter





> > 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

Peter




More information about the asterisk-users mailing list