[OpenSIPS-Users] Unable to make the load balancer work

Vlad Paiu vladpaiu at opensips.org
Wed Nov 9 14:45:27 CET 2011


Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to 
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>                                  >  Proxy1>--->UAS1
> UAC-->LoadBalancer>
>                                  >  Proxy2>--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>   ---- ----------- ----------------------------- ----------------------------
>   |  id  | group_id | dst_uri                           | resources
> |
>   ---- ----------- ----------------------------- ----------------------------
>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
> |
>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
> |
>   ---- ----------- ----------------------------- ----------------------------
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list