Re: [OpenSIPStack] OSBC - load balancing
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-11-14 01:42:39
|
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 > > |