Is there any way of looking up a variable from the XML config from the dialplan? For instance, I know what number is dialed from ${destination_number} and I know that the directory user entry attribute of ID matches the number because I have it set up that way. Can I lookup the value email-addr parameter from the user and, say, set a variable to the value? Something like an XPATH lookup?
http://wiki.freeswitch.org/wiki/Mod_commands#user_data ${user_data()} /b On Aug 28, 2011, at 3:37 PM, Rob Hutton wrote:
Is there any way of looking up a variable from the XML config from the dialplan?
For instance, I know what number is dialed from ${destination_number} and I know that the directory user entry attribute of ID matches the number because I have it set up that way. Can I lookup the value email-addr parameter from the user and, say, set a variable to the value? Something like an XPATH lookup?
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you very much... On Sunday 28 August 2011 17:07:31 Brian West wrote:
http://wiki.freeswitch.org/wiki/Mod_commands#user_data
${user_data()}
/b
On Aug 28, 2011, at 3:37 PM, Rob Hutton wrote:
Is there any way of looking up a variable from the XML config from the dialplan?
For instance, I know what number is dialed from ${destination_number} and I know that the directory user entry attribute of ID matches the number because I have it set up that way. Can I lookup the value email-addr parameter from the user and, say, set a variable to the value? Something like an XPATH lookup?
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Rob Hutton