<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body 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=xxxx.com;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 class="moz-signature" 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>
  </body>
</html>