[asterisk-dev] Read dialplan variable with
thomas.hecker at gmail.com
Tue Apr 3 11:23:19 MST 2007
Thank you very much, this works! Where I could have found this in the docs?
I really searched..
On 27/03/07, Olle E Johansson <olle at voop.com> wrote:
> 27 mar 2007 kl. 11.47 skrev Thomas Hecker:
> > Hi,
> > after setting a dialplan variable with
> > Set(SIPTEST=TEST)
> > Dial(SIP/xxx)
> > I need to read out this var in the dial application (transmit_invite
> > () )with
> > pbx_builtin_getvar_helper(p->owner, "SIPTEST");
> > p is a struct sip_pvt *p passed by int sip_call().
> > But this returns a 'null' string. Do I have a wrong 'p' or what
> > could be the reason?
> You are in the wrong channel.
> test with
> and the variable will be copied to the outbound channel.
> --Bandwidth and Colocation provided by Easynews.com --
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-dev