[Asterisk-Dev] PATCH - Adds a set'able text string for each channel

James Golovich james at wwnet.net
Fri Jun 4 00:18:55 MST 2004


On Fri, 4 Jun 2004, Adam Goryachev wrote:

> If anyone knows the correct/easiest method of retrieving the value of a
> variable given a channel, and variable name, it would be appreciated.
> 


pbx_builtin_getvar_helper will do it for you.

char *blah = pbx_builtin_getvar_helper(chan, "VARNAME");

James




More information about the asterisk-dev mailing list