<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I downloaded and installed <br>
<ul>
<li>the latest JsSip 0.3.0 Development (uncompressed code,
564KB): jssip-0.3.0.js and related "tryit" libs (2 days old
now)</li>
<li>the lastest Freeswitch GIT (2 days old now)</li>
<li>Chromium is 28.0.1500 (Firefox shows the same behaviour)<br>
</li>
</ul>
<p><br>
Best regards<br>
Peter<br>
</p>
<br>
On 09/06/13 18:25, Anthony Minessale wrote:<br>
</div>
<blockquote
cite="mid:CAKbxfG9m3S6muB-Y-BjkjCeMw0VdMCWBLL-Q+WGjwBQiDRLMNw@mail.gmail.com"
type="cite">
<div dir="ltr">Out of curiosity, are you on latest master?</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Sep 6, 2013 at 4:45 AM, Peter
Steinbach <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="im">
<div>On 09/06/13 00:52, Anthony Minessale wrote:<br>
</div>
<blockquote type="cite">SSL stuff still shows handshake
etc well in a pcap.
<div>you need sofia loglevel all 9 to see any
connection stuff.</div>
</blockquote>
</div>
Thanks for the hint. Freeswitch log shows:<br>
tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70):
events IN<br>
tport.c:2864 tport_recv_event()
tport_recv_event(0x7f59ccddbb70)<br>
tport_type_ws.c:232 tport_recv_stream_ws()
tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize():
Host is down (112)<br>
tport.c:2159 tport_shutdown0()
tport_shutdown0(0x7f59ccddbb70, 2)<br>
tport.c:2096 tport_close() tport_close(0x7f59ccddbb70):
ws/<a moz-do-not-send="true"
href="http://192.168.178.102:40843/sip" target="_blank">192.168.178.102:40843/sip</a><br>
nua_registrar.c:200 registrar_tport_error() tport error 0:
Success<br>
tport.c:4221 tport_release()
tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0
with (nil)<br>
tport.c:2265 tport_set_secondary_timer()
tport(0x7f59ccddbb70): set timer at 0 ms because zap<br>
nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0):
event i_media_error 500 Transport error detected<br>
nua_stack.c:359 nua_application_event() nua:
nua_application_event: entering<br>
tport.c:2265 tport_set_secondary_timer()
tport(0x7f59ccddbb70): set timer at 0 ms because zap<br>
tport_type_ws.c:480 tport_ws_deinit_secondary()
0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60.<br>
nua.c:366 nua_handle_magic() nua: nua_handle_magic:
entering<br>
2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET
DISCONNECT: rfg21joso6g9bf1oblmtqg <a
moz-do-not-send="true"
href="http://192.168.178.102:40843" target="_blank">192.168.178.102:40843</a><br>
<br>
I am wondering about 3 things:<br>
<ul>
<li>Host is down (112) (but netstat shows below that
7443 is open)<br>
</li>
<li>ws/<a moz-do-not-send="true"
href="http://192.168.178.102:40843/sip"
target="_blank">192.168.178.102:40843/sip</a> (I was
expecting wss here instead of ws)</li>
<li>500 Transport error detected</li>
</ul>
Do you see where this behaviour may come from?<br>
<br>
netstat -anlpe |grep 7443<br>
tcp 0 0 <a moz-do-not-send="true"
href="http://192.168.178.220:7443" target="_blank">192.168.178.220:7443</a>
0.0.0.0:* LISTEN 0 1460052941
25340/freeswitch<br>
<br>
Jssip shows:
<div class="im"><br>
JsSIP | TRANSPORT | connecting to WebSocket <a
moz-do-not-send="true">wss://mydomain.com:7443</a>
jssip-devel.js:556<br>
JsSIP | TRANSPORT | WebSocket connection error: [object
Event] jssip-devel.js:717<br>
JsSIP | TRANSPORT | WebSocket disconnected (code: 1006)
jssip-devel.js:611<br>
JsSIP | TRANSPORT | WebSocket abrupt disconnection
jssip-devel.js:614<br>
JsSIP | UA | transport <a moz-do-not-send="true">wss://mydomain.com:7443</a>
failed | connection state set to 2 jssip-devel.js:5292<br>
<br>
</div>
By the way, if I open <a moz-do-not-send="true"
href="http://192.168.178.220:7443" target="_blank">http://192.168.178.220:7443</a>
manually in the Chrome Browser, I read in Freeswitch's
log:<br>
tport.c:2749 tport_wakeup_pri()
tport_wakeup_pri(0x1feebb0): events IN<br>
tport.c:869 tport_alloc_secondary()
tport_alloc_secondary(0x1feebb0): new secondary tport
0x7f59b842cdd0<br>
tport.c:2622 tport_accept() tport_accept(0x1feebb0):
incoming secondary on wss/<a moz-do-not-send="true"
href="http://192.168.178.220:7443/sips" target="_blank">192.168.178.220:7443/sips</a>
failed. reason = WS_INIT
<div class="im"><br>
<br>
<pre cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a moz-do-not-send="true" href="mailto:lists" target="_blank">mailto:lists</a> (att) <a moz-do-not-send="true" href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a moz-do-not-send="true" href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>
</pre>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a moz-do-not-send="true"
href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true"
href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a moz-do-not-send="true"
href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a moz-do-not-send="true"
href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net">irc.freenode.net</a>
#freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a moz-do-not-send="true"
href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>
</pre>
</body>
</html>