[Freeswitch-users] Looking up user data in dialplan

Leon de Rooij leon at scarlet-internet.nl
Thu Jun 28 17:36:20 MSD 2012


You can use the set_user dp app to set all user variables as channel variables. You can also supply a prefix string to keep these new variables separate from wha was already set.

See here: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user

regards,

Leon


On Jun 28, 2012, at 11:09, Andrew Cassidy wrote:

> Hi All,
> 
> Right, I have a very basic application I'm building around voicemail. Each user has 2 attrs that I need to search by. user_exists works fine, but doesn't return me any data other then the fact the user exists, and user_data only searches the id attr.
> 
> Is there any way I can do that in just the dialplan with what is already available?
> 
> In the most simple form I need the user id for a number_alias.
> 
> -- 
> Andrew Cassidy BSc (Hons) MBCS SSCA
> Managing Director
> 
> 
> T 03300 100 960  F 03300 100 961
> E andrew at cassidywebservices.co.uk
> W www.cassidywebservices.co.uk
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120628/86482642/attachment-0001.html 


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