You might be looking at it the wrong way...

You don't need to entries of the user, you need a single entry but with multiple domain values.

So the curl lookup selects from the db where user = xx and domain LIKE %xx%

something like that

-Jm


-----Original Message-----
From: mehroz <mehroz.ashraf85@gmail.com>
To: freeswitch-users <freeswitch-users@lists.freeswitch.org>
Sent: Fri, May 24, 2013 9:46 pm
Subject: Re: [Freeswitch-users] Centralized SIP directory

Exactly, that is what i am doing. using ODBC with Mysql. My registration are
saving in "sip_registration" table and i can get the IP location of each
user (sip_host address).
A perl script serving the purpose of fetching records from DB and knowing
the IP location of callee and caller.

But , i am trapped in "domain" structure of FS. I do not want to create two
copies of a single user, like
SIP number : 1000 with domain of FS IP-1
SIP number : 1000 with domain of FS IP-2

As both FS instance need to knwo if that user exists in their directory or
not, which is depicted in terms of "domain"





--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Centralized-SIP-directory-tp7591047p7591052.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
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

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