[Freeswitch-users] Centralized SIP directory

John M j_mj at aol.com
Fri May 24 18:27:47 MSD 2013


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 at gmail.com>
To: freeswitch-users <freeswitch-users at 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 at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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/20130524/de8e4e1f/attachment.html 


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