<div dir="ltr"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">Hi. I usein kamailio 4.4 +rtpengine 4.5 for making videocalls though Web<br>And have issue with it: <br style="box-sizing:border-box">I have one way audio and video till video not started.<br></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px"><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, roboto, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">For example i calling form A point to B point</span></font><br style="box-sizing:border-box"><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, roboto, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">B point accept call and have Audio and Video flow from the point A but point A have no any media flow.</span></font><br><br><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, roboto, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">For now i using scheme when kamailio runs together with asterisk but also i had this issue with calls without asterisk.</span></font><br><br><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, roboto, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">There is a link on issue i discribed before</span></font><br><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, roboto, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px"><a href="https://github.com/sipwise/rtpengine/issues/260">https://github.com/sipwise/rtpengine/issues/260</a><br></span></font><br>I use settings at the kamailio<br><span style="color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">rtpengine_manage("force trust-address replace-origin replace-session-connection RTP/SAVPF")  for making UDP call to WS<br></span><br>And <br>rtpengine_manage("trust-address replace-origin replace-session-connection ICE=remove DTLS=passive RTP/AVP media-address=MY_IP_ADDR");<br>For converting to back</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><br>I use folloving scheme (Call from A to B)<br style="box-sizing:border-box">WSphone(A)->(1-st leg)-> kamailio+rtpeinge->(2-nd leg->)asterisk<br style="box-sizing:border-box">asterisk ->(3-st leg)-> kamailio+rtpeinge->(4-th leg)->WSphone(B)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">At the example below rtpengine (with kamailio) an asteirsk uses same server<br style="box-sizing:border-box">But connection made thoufh external interface. not local (it is made because in a production scheme asteirsk will be in a different server, but actuaaly it is does not have any matter, just for understanding topology)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">So at the logs after call i see next things</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">First call from point A to asterisk<br style="box-sizing:border-box">(first leg and second leg)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/1" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#1</a> (audio over RTP/SAVPF) using opus/48000/2<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30170 <> A.po.int.ip:51918, 244 p, 22944 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30171 <> A.po.int.ip:51920 (RTCP), 4 p, 196 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/2" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#2</a> (video over RTP/SAVPF) using VP8/90000<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30200 <> A.po.int.ip:51922, 209 p, 164499 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30201 <> A.po.int.ip:51924 (RTCP), 129 p, 4292 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --- Tag 'as76205e6a', created 0:39 ago for branch '', in dialogue with '5aalmrbaek'<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/1" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#1</a> (audio over RTP/AVP) using opus/48000/2<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30156 <> my.ser.ver.ip:29236, 242 p, 23861 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30157 <> my.ser.ver.ip:29237 (RTCP), 0 p, 0 b, 0 e, 1473403340 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/2" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#2</a> (video over RTP/AVP) using VP8/90000<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30184 <> my.ser.ver.ip:27252, 148 p, 152972 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [ga5c8qb2uaasr42j63h4]: --------- Port my.ser.ver.ip:30185 <> my.ser.ver.ip:27253 (RTCP), 0 p, 0 b, 0 e, 1473403340 last_packet</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">call from asterisk to point B (3-d leg and 4-th leg)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/1" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#1</a>(audio over RTP/AVP) using opus/48000/2<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30238 <> my.ser.ver.ip:29958, 239 p, 24902 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30239 <> my.ser.ver.ip:29959 (RTCP), 0 p, 0 b, 0 e, 1473403340 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/2" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#2</a>(video over RTP/AVP) using VP8/90000<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30264 <> my.ser.ver.ip:40374, 205 p, 163663 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30265 <> my.ser.ver.ip:40375 (RTCP), 0 p, 0 b, 0 e, 1473403340 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --- Tag 'fgl9f33gf0', created 0:39 ago for branch '', in dialogue with 'as5f26dbd9'<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/1" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#1</a>(audio over RTP/SAVPF) using opus/48000/2<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30218 <> B.po.int.ip:26138, 242 p, 21481 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30219 <> B.po.int.ip:30161 (RTCP), 4 p, 188 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: ------ Media <a href="https://github.com/sipwise/rtpengine/issues/2" class="gmail-issue-link gmail-js-issue-link" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">#2</a>(video over RTP/SAVPF) using VP8/90000<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30246 <> B.po.int.ip:31174, 198 p, 163302 b, 0 e, 1473403349 last_packet<br style="box-sizing:border-box">[1473403379.000108] INFO: [<a href="mailto:7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip" style="box-sizing:border-box;background-color:transparent;color:rgb(64,120,192);text-decoration:none">7742bfcf0e9570ab6d7d40a52cd4cd4a@my.ser.ver.ip</a>:5999]: --------- Port my.ser.ver.ip:30247 <> B.po.int.ip:59057 (RTCP), 12 p, 540 b, 0 e, 1473403349 last_packet</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">As i see there is no any lost pakets and errors</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">and all packets going through</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">but at the asteirsk log i see that</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">Sent RTP P2P packet to my.ser.ver.ip:30238 (type 107, len 000102)<br style="box-sizing:border-box">Sent RTP P2P packet to my.ser.ver.ip:30156 (type 111, len 000071)<br style="box-sizing:border-box">Sent RTP P2P packet to my.ser.ver.ip:30238 (type 107, len 000079)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">when packets sended from asterisk to rtpengine they have no response</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">So it looks like that asterisk have no response from rtpengine when sending him any IP.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px">Also i checked at the webphone side but it sending pakents. So at this side no trouble...</p><p style="box-sizing:border-box;margin-top:0px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px;margin-bottom:0px">Thanks for advices!</p></div>