Re: [OpenSIPStack] OSBC - load balancing
Brought to you by:
joegenbaclor
From: Imran K. <Im...@wi...> - 2008-11-14 16:25:44
|
Hi, I get the following error when I start Groomer and send data from my client to the LB: 'SIP/2.0 405 Not Processing Request' (on the Load balancer - SIP 405 is method not allowed?) This is the whole message: 2008-11-14 18:08:07:871 1226682487.871622: Continuing call on unexpected message for Call-Id '3-3045@192.168.1.115': while expecting '100' (index 1), received 'SIP/2.0 405 Not Processing Request^M From: "client1" <sip:cl...@op...:5060>;tag=3^M To: <sip:cl...@op...>^M Via: SIP/2.0/UDP 192.168.1.136:5060;branch=z9hG4bK-3045-3-0;rport=5060;received=192.168.1 .115^M CSeq: 100 REGISTER^M Call-ID: 3-3045@192.168.1.115^M Server: OpenSBCGroomer 1.0.0-9^M Content-Length: 0^M I still cant send signaling signaling to the server I get stick till the load balancer. Client->load balancer-> server I started the webbrowser of LB on 5060. Then I started the groomer on 5070.. In the OBproxy I set the adres to LB_IP:5070. In theory I should start to receive the signaling trough the LB on my server now right? TiA. Regards, Imran -----Original Message----- From: jo...@op... [mailto:joe...@gm...] Sent: vrijdag 14 november 2008 2:42 To: ope...@op...; ope...@li... Subject: Re: [OpenSIPStack] OSBC - load balancing Just set the address of the groomer as the OBProxy in the Outbound-Proxy list in web admin. How To Run: ./osbcgroomer -ttttt -p process-id.txt -r route.xml -i sip:192.168.0.253:5060 usage: -v|-h -t Trace level. Example -ttt means Log Level 3 -h --help output this help message and exit -v --version display version information and exit -p --pid-file name or absolute path for pid file -r --route-xml-file name or absolute path for xml route file -i --interface-address interface address to be used for listener in SIP URI format How To Configure the route.xml Below is a sample rotue.xml file <routes prefix-match-length="3"> <block host="10.0.0.1" filter="1212" catch-all="sip:ha1.gateway.com"> </block> <block host="10.0.0.1" filter="00" catch-all="sip:ha2.gateway.com"> </block> <block host="*" catch-all="sip:everythingelse.gateway.com"> </block> </routes> The above simply means 1. All calls coming from 10.0.0.1 with prefix 1212 goes to ha1.gateway.com 2. All calls coming from 10.0.0.1 with prefix 00 goes to ha2.gateway.com 3. Everything else goes to everythingelse.gateway.com Joegen OpenSIPStack Forum wrote: > Hi, > > I tried much today to get the OpenSBC do load balancing. I did not succeed. > I would appreciate help if one knows: > * How to make xml such way that the servers1 and 2 will accept calls from LB > * Where to put these scripts? (how could they be started?) The startup procedure? > > TiA. > > Regards, > Imran > > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |