Hi Leon,

Does that allow me to search by attrs other than ID? I need to get the id of a user given another attr (such as alias), but looking for a minimal approach.

Basically all i need is to have N mailboxes, each with a DDI to leave messages and a DDI to check them. Obviously I can just use one of the DDI's as the user ID, but to check i need to find the user id for the other number.

I can do this with mod_xml_curl easily enough, was just wondering if there was a simpler way.

On 28 June 2012 14:36, Leon de Rooij <leon@scarlet-internet.nl> wrote:
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
_________________________________________________________________________
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


_________________________________________________________________________
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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961
E andrew@cassidywebservices.co.uk
W www.cassidywebservices.co.uk