Hi andrew. Thanks for your help. What module or config should I use to make sure the connection goes back through the loadbalancer?
For the failover I didnt specify anything ping related. Im using the dispatcher module. Can I specify the ping config in that module or should I use another module for that? On Sep 2, 2011 2:24 PM, "Andrew Pogrebennyk" apogrebennyk@sipwise.com wrote:
On 09/02/2011 08:58 PM, David Zambrano wrote:
After doing some traces on the network I realized that the transcoder is trying to reach the router in front of the softphone and skipping the Kamailio loadbalancer. The call never reaches the softphone so the phonecall never completes. In UDP exactly the same thing happens, the call skips the Kamailio loadbalancer but the call completes perfectly fine.
Well, you can not open the TCP connection to the client behind NAT. You need to reuse the existing connection created during registration, so the request should go via load balancer by record-route or path. I'm not sure why this works for UDP, probably your router is too permissive in this case :-)
Regarding the loadbalancing and failover, I don't understand what is the problem. Could you specify which lb module do you use and preferable post the part of config responsible for failover. I believe you don't need to send request to both transcoders. To skip the transcoder that goes down you need to setup ping checks, if that is the only problem.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users