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