VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
juanma.v82 at gmail.com Guest
|
Posted: Mon Aug 31, 2009 3:04 pm Post 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. |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Mon Aug 31, 2009 4:07 pm Post subject: [Freeswitch-users] Load Balacing |
|
|
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:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Mon Aug 31, 2009 4:44 pm Post subject: [Freeswitch-users] Load Balacing |
|
|
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 |
|
Back to top |
|
|
andrew at hijacked.us Guest
|
Posted: Mon Aug 31, 2009 5:03 pm Post subject: [Freeswitch-users] Load Balacing |
|
|
On Mon, Aug 31, 2009 at 04:56:48PM -0300, Juan Manuel Vicente wrote:
Quote: | 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 |
|
Back to top |
|
|
jim at evolutiontel.net Guest
|
Posted: Mon Aug 31, 2009 8:47 pm Post subject: [Freeswitch-users] Load Balacing |
|
|
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:
Quote: | On Mon, Aug 31, 2009 at 04:56:48PM -0300, Juan Manuel Vicente wrote:
Quote: | 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
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|