<font color='black' size='2' face='Arial, Helvetica, sans-serif'>You <font size="2">might be looking at it the wrong way...<br>
<br>
You don't need to entries of the user, you need a single entry but with multiple domain values.<br>
<br>
So the curl lookup selects from the db where user = xx and domain LIKE %xx%<br>
</font><font color="black" face="Arial, Helvetica, sans-serif" size="2">

<div> <br>
something like that<br>
<br>
-Jm<br>

</div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family:helvetica,arial;font-size:10pt;color:black">-----Original Message-----<br>

From: mehroz &lt;mehroz.ashraf85@gmail.com&gt;<br>

To: freeswitch-users &lt;freeswitch-users@lists.freeswitch.org&gt;<br>

Sent: Fri, May 24, 2013 9:46 pm<br>

Subject: Re: [Freeswitch-users] Centralized SIP directory<br>

<br>






<div id="AOLMsgPart_0_0b692d39-4659-41c6-88d4-d1b03994e3f4" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>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: <a href="http://freeswitch-users.2379917.n2.nabble.com/Centralized-SIP-directory-tp7591047p7591052.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Centralized-SIP-directory-tp7591047p7591052.html</a>
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_0b692d39-4659-41c6-88d4-d1b03994e3f4 -->



</div>

</font></font>