<div dir="ltr"><div><div>The problem may be with record_route header. <br></div>Did you set <span class=""><em>advertised_address?<br></em></span></div><span class=""></span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-21 12:59 GMT+03:00 Amit Patkar <span dir="ltr"><<a href="mailto:amit@avhan.com" target="_blank">amit@avhan.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font color="#000000" face="Century Gothic">Hi<br>
      <br>
      I am using Kamailio as Websocket proxy.<br>
      <br>
      User 1 & User 2 are registered on Kamailio over WebSocket.<br>
      When User 1 calls User 2, User 2 gets ring and answers the call.
      200 OK message is received by User 1 but ACK response sent by User
      1 does not reach User 2. Since User 2 didn't get ACS, after 30 sec
      timeout it drops the call.<br>
      Media is exchanged for 30 seconds, which means ICE is successful.
      <br>
      <br>
      I am running kamailio 4.3.3 on <br>
      <br>
      Kamailio is behind firewall and running on private IP. <br>
      rtpengine is configured to handle media.<br>
      All ports are forwarded to kamailio server and Kamailio is allowed
      to send data on any public IP.<br>
      <br>
      I used jssip & sipml framework to test. Result was same for
      both frameworks. No ACK received<br>
      <br>
      I can see following errors in log file. What could be the reason
      which indicate ACK was not forwarded<br>
      <br>
      Jun 21 14:55:41 acstemplate /usr/sbin/kamailio[6584]: NOTICE: acc
      [acc.c:317]: acc_log_request(): ACC: transaction answered:
timestamp=1466501141;method=INVITE;from_tag=7926B9NR7U0X99ZfAr1T;to_tag=w3D2JGd2EUFJpobTcFyo;call_id=1edc8e15-f1f1-584d-df81-71c3d59d713d;code=200;reason=OK;src_user=10001;src_domain=<a href="http://xxxx.com" target="_blank">xxxx.com</a>;src_ip=xxx.yyy.zzz.aaa;dst_ouser=10002;dst_user=10002;dst_domain=df7jal23ls0d.invalid<br>
      Jun 21 14:55:41 acstemplate /usr/sbin/kamailio[6582]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:55:41 acstemplate /usr/sbin/kamailio[6582]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
      Jun 21 14:55:42 acstemplate /usr/sbin/kamailio[6584]: INFO:
      <script>: WS to WS<br>
      Jun 21 14:55:42 acstemplate /usr/sbin/kamailio[6582]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:55:42 acstemplate /usr/sbin/kamailio[6582]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
      Jun 21 14:55:46 acstemplate /usr/sbin/kamailio[6582]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:55:46 acstemplate /usr/sbin/kamailio[6582]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
      Jun 21 14:55:51 acstemplate /usr/sbin/kamailio[6582]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:55:51 acstemplate /usr/sbin/kamailio[6582]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
      Jun 21 14:55:57 acstemplate /usr/sbin/kamailio[6582]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:55:57 acstemplate /usr/sbin/kamailio[6582]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
      Jun 21 14:56:13 acstemplate /usr/sbin/kamailio[6581]: ERROR:
      <core> [forward.c:529]: forward_request(): cannot forward to
      af 2, proto 5 no corresponding listening socket<br>
      Jun 21 14:56:13 acstemplate /usr/sbin/kamailio[6581]: ERROR: sl
      [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used:
      I'm terribly sorry, server error occurred (7/SL)<br>
    </font>
    <pre cols="72"><font color="#000000">I searched list for similar issues but could not find match any

Help to resolve this issue is appreciated.

Thanks & Regards,
Amit Patkar

</font></pre>
  </div>

<br>_______________________________________________<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/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>tel: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abriss.solutions/</a></div></div></div></div></div>
</div>