[Freeswitch-users] Looking up variable from config

Brian West brian at freeswitch.org
Mon Aug 29 01:07:31 MSD 2011


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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list