Hello, when handling the traffic from/to webrtc endpoints, you have to apply the same routing logic as for a NATed device. See the readme of websocket module or the sample config from Carlos Ruiz Diaz on github.
Cheers, Daniel On 05/03/15 03:44, Don Fanning wrote: > Hi All, > > I'm placing calls between two devices over WSS and sipML5. Connection > seems to work and stays up (despite some grumbling sometimes with 603 > failed to get local SDP) but my question is the following log entries > - could someone translate what is happening here? > > Thanks! > > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: INFO: > <script>: Request in RELAY - call is {<null>} for {106E} > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:19 sandbox /usr/local/sbin/kamailio[4917]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: INFO: > <script>: Request in RELAY - call is {<null>} for {106E} > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:21 sandbox /usr/local/sbin/kamailio[4917]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: INFO: > <script>: Request in RELAY - call is {<null>} for {106E} > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:25 sandbox /usr/local/sbin/kamailio[4917]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: INFO: > <script>: Request in RELAY - call is {<null>} for {106E} > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:33 sandbox /usr/local/sbin/kamailio[4918]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: INFO: > <script>: Request in RELAY - call is {<null>} for {106E} > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: WARNING: > <core> [tcp_main.c:1221]: tcp_do_connect(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: could not find corresponding listening socket > for 127.0.0.1, using default... > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [tcp_main.c:2740]: tcpconn_1st_send(): connect 127.0.0.2:5061 > <http://127.0.0.2:5061> failed (RST) Connection refused > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [tcp_main.c:2750]: tcpconn_1st_send(): 127.0.0.2:5061 > <http://127.0.0.2:5061>: connect & send for 0x7f0eb3944ac0 failed: > Connection refused (111) > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: ERROR: <core> > [forward.h:247]: msg_send(): tcp_send failed > Mar 5 03:35:49 sandbox /usr/local/sbin/kamailio[4918]: ERROR: sl > [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: > Unfortunately error on sending to next hop occurred (477/SL) > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users