<div dir="ltr">When packet arrives at from the WebSocket its length usually more that 1500 bytes<br>THat is the problem. sometimes sdp data lost while sending. If asterisk at the sama machine it uses lo interface and then it is not a problem but for remote servers it can be.<br><br>I didnt thought about keepalive. I suppose it can help.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-08 15:04 GMT+03:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<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 02:43:03PM +0300, Yuriy Gorlichenko wrote:<br>
> yes. Thats will be great because in some system design it must use same<br>
> port that listening for sendinf like in UDP for example for transcoding SIP<br>
> overĀ  WebSocket to SIP over TCP and masking registration behind thanscoder.<br>
><br>
> Like User sends registration, kamailio just Transcoding this request to TCP<br>
> and then resend this registration packet to Asterisk.<br>
> With this example asteisk must originate all PACKETS to TCP port of<br>
> kamailio but it tries to send it to port from wich request arrived and if<br>
> use TCP it will not equal port that kamailio listening for TCP.<br>
<br>
</span>And this is a problem? Since all requests from kamailio to that asterisk<br>
should be send over the same connection it will stay open for some time,<br>
and enabling qualify for the users on asterisk will keep is open.<br>
<br>
But I'd communicate over UDP with asterisk/any backend anyway, so what<br>
is the reason for TCP?<br>
<div class="HOEnZb"><div class="h5"><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>