You can try also application/function user_data http://wiki.freeswitch.org/wiki/Mod_commands#user_data Also here ( http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_num... ) you can see it in use with application bridge. Works perfectly with set/export applications. Anatoliy On Thu, Aug 20, 2009 at 3:50 PM, Juan Backson<juanbackson@gmail.com> 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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anatoliy Kounitskiy ------------------------- E-mail: anatoliy@kounitskiy.com Mobile: +359898913540