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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org