<div dir="ltr">The issue with dispatcher is that, in case of TCP transport, you cannot set the sending socket for the same reason.<div>Basically, each time a client TCP socket is open by Kamailio, the SO select the port, due to the lack of support for SO_REUSEPORT.</div><div><br></div><div>Cheers,</div><div><br></div><div>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 4:33 PM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 08, 2016 at 03:38:32PM +0300, Yuriy Gorlichenko wrote:<br>
> I didnt thought about keepalive. I suppose it can help.<br>
<br>
</span>Better than using qualify in asterisk is to use the dispatcher module in<br>
kamailio. The idea is the same, but more configurable and it is just 1<br>
keepalive mechanisme so the amount of keepalives doesn't scale linear<br>
with the number of registered users :)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>