Hello: I am using two boxes, with same domain, to register about 1000 users working together a DNS box doing round robin to resolve two differentes Ips one to each box. This two boxes are using the same database (through unixodbc). When I use the funcion sofia_contact or sofia profile status both boxes show the status of the user. Does not matter where the resgistration was did. But when I try to call the user this call fails, the call only works if the call is sent through the same box where the user is registered. Any ideas where i need to looking for ? Thx in Advance.
nat mapping on the client box not allowing the invite from another ip? Mike On Aug 31, 2009, at 3:56 PM, Juan Manuel Vicente wrote:
Hello:
I am using two boxes, with same domain, to register about 1000 users working together a DNS box doing round robin to resolve two differentes Ips one to each box. This two boxes are using the same database (through unixodbc).
When I use the funcion sofia_contact or sofia profile status both boxes show the status of the user. Does not matter where the resgistration was did.
But when I try to call the user this call fails, the call only works if the call is sent through the same box where the user is registered.
Any ideas where i need to looking for ?
Thx in Advance.
_______________________________________________ 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
You need to write you a small application to use the sip_registration table from your odbc datasource and route the call to the appropriate registration server and then have that server send the calls out... I am doing this exact same thing now and this is what I had to do to get it to work properly with a stack of clients behind nat From: Juan Manuel Vicente <juanma.v82@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Mon, 31 Aug 2009 16:56:48 -0300 To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Load Balacing Hello: I am using two boxes, with same domain, to register about 1000 users working together a DNS box doing round robin to resolve two differentes Ips one to each box. This two boxes are using the same database (through unixodbc). When I use the funcion sofia_contact or sofia profile status both boxes show the status of the user. Does not matter where the resgistration was did. But when I try to call the user this call fails, the call only works if the call is sent through the same box where the user is registered. Any ideas where i need to looking for ? Thx in Advance. _______________________________________________ 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
On Mon, Aug 31, 2009 at 04:56:48PM -0300, Juan Manuel Vicente wrote:
Hello:
I am using two boxes, with same domain, to register about 1000 users working together a DNS box doing round robin to resolve two differentes Ips one to each box. This two boxes are using the same database (through unixodbc).
When I use the funcion sofia_contact or sofia profile status both boxes show the status of the user. Does not matter where the resgistration was did.
But when I try to call the user this call fails, the call only works if the call is sent through the same box where the user is registered.
I had the same problem except that I was using the multicast module to replicate registrations, I added a sofia config parameter to optionally rewrite the fs_path part of the sip URI on replicated packets so I could hairpin the sip messages through the original registrar. This doesn't help you directly but maybe it'll give you an idea? Andrew
Could you use the server host saved in the database at registration and then use it with path to get to the other FS box? http://wiki.freeswitch.org/wiki/Sofia#Specifying_SIP_Proxy_With_fs_path On Tue, Sep 1, 2009 at 7:57 AM, Andrew Thompson<andrew@hijacked.us> wrote:
On Mon, Aug 31, 2009 at 04:56:48PM -0300, Juan Manuel Vicente wrote:
Hello:
I am using two boxes, with same domain, to register about 1000 users working together a DNS box doing round robin to resolve two differentes Ips one to each box. This two boxes are using the same database (through unixodbc).
When I use the funcion sofia_contact or sofia profile status both boxes show the status of the user. Does not matter where the resgistration was did.
But when I try to call the user this call fails, the call only works if the call is sent through the same box where the user is registered.
I had the same problem except that I was using the multicast module to replicate registrations, I added a sofia config parameter to optionally rewrite the fs_path part of the sip URI on replicated packets so I could hairpin the sip messages through the original registrar. This doesn't help you directly but maybe it'll give you an idea?
Andrew
_______________________________________________ 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
-- Jim Burke Director Evolutiontel. http://www.evolutiontel.net
participants (5)
-
Andrew Thompson
-
Jim Burke
-
Juan Manuel Vicente
-
Ken Rice
-
Michael Jerris