<div dir="ltr">issue resolved by upgrading fs from 1.4.0 to 1.5.8.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/5 Vincent Xia <span dir="ltr"><<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">i got the "reversed" issue, wss-binding works, ws-binding not.<div>the chrome console log says:</div>
<div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap">JsSIP | TRANSPORT | Connecting to WebSocket URI ws://mydomain:6001</span></div>
<div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap">without further outputs,</span></div><div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap">sometimes it may print 400 error.</span></div>
<div><br></div><div>im using freeswitch 1.4, maybe i'd try a newer version...</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/7 Peter Steinbach <span dir="ltr"><<a href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</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">
<div>I finally got it,<br>
<br>
For those who run into the same problem: <br>
<br>
I missed the --with-openssl option in<br>
./configure --with-openssl <br>
<br>
Best regards<span><font color="#888888"><br>
Peter</font></span><div><div><br>
<br>
On 09/06/13 21:26, Peter Steinbach wrote:<br>
</div></div></div><div><div>
<blockquote type="cite">
<div>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 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 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>
<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 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 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 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 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><br>
JsSIP | TRANSPORT | connecting to WebSocket <a>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>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 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 href="http://192.168.178.220:7443/sips" target="_blank">192.168.178.220:7443/sips</a> failed.
reason = WS_INIT
<div><br>
<br>
<pre cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>
</pre>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a 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 href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900 </div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>
</pre>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>