<div dir="ltr"><span style="font-size:12.8px">I know about dispatcher but it not always canbe heplfull. Sometimes i need my own logic that not implemented at the dispatcher.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">For checking kamailio live from asterisk im use qualfy for keepalives, if i use asterisk only as media server but it not always usefull. Sometimes scenarios need to use another logic. </span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-08 17:50 GMT+03:00 Federico Cabiddu <span dir="ltr"><<a href="mailto:federico.cabiddu@gmail.com" target="_blank">federico.cabiddu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>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></div><div><div><br>
<br><span class="">
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
</span></div></div></blockquote></div><br></div>
</blockquote></div><br></div>