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

Mathieu Rene mrene_lists at avgs.ca
Thu Aug 20 06:22:54 PDT 2009


Hi,

switch_channel_get_variable() is the right way. Its possible that the  
user isn't recognized, pastebin some debug logs. (console loglevel  
debug)

PS: you can hop on #freeswitch-dev and we can chat

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca




On 20-Aug-09, at 8:50 AM, Juan Backson wrote:

> 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
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the FreeSWITCH-dev mailing list