[asterisk-dev] Read dialplan variable with pbx_builtin_getvar_helper
Thomas Hecker
thomas.hecker at gmail.com
Tue Mar 27 02:47:43 MST 2007
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?
Thank you very much,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070327/2d503a1d/attachment.htm
More information about the asterisk-dev
mailing list