[Freeswitch-dev] Unable to access directory variable from channel

Juan Backson juanbackson at gmail.com
Thu Aug 20 05:50:04 PDT 2009


Hi,

I set up a variable called "account-id" in the user directory xml file.

>From the info app, I can't find the variable for variable_account-id.
Also,  in my C module, I tried to obtain the value with
switch_channel_get_variable(channel,"account-id") and it is not returning
null.

Does anyone know how I can access the user variable from within my mod?

Thanks,
JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090820/a01cc5c3/attachment.html 


More information about the FreeSWITCH-dev mailing list