I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088) However this only works with 'ws' but not with secure 'wss'. * In the log I can see that freeswitch sets wss-binding[:7443] * wss.pem is also present in the certs directory But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error. Anybody has a working wss connection with Jssip and can share his config with me? -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
Try making your own wss.pem that is a valid http cert key pair. On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de> wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)
However this only works with 'ws' but not with secure 'wss'.
- In the log I can see that freeswitch sets wss-binding[:7443] - wss.pem is also present in the certs directory
But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error.
Anybody has a working wss connection with Jssip and can share his config with me?
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
If you are using self-signed certificates, then you need to add exception for them in your web browser, The easiest way to do it is, open below URL in your web browser and add exception for SSL certificate when prompted, https://<FS-IP>:<WSS-port> Then JSSIP will work fine. Thank you. On Wed, Sep 4, 2013 at 7:12 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Try making your own wss.pem that is a valid http cert key pair.
On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de>wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)
However this only works with 'ws' but not with secure 'wss'.
- In the log I can see that freeswitch sets wss-binding[:7443] - wss.pem is also present in the certs directory
But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error.
Anybody has a working wss connection with Jssip and can share his config with me?
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Mit freundlichen Grüßen Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
https://<FS-IP>:<WSS-port> I did this, also we have created our own wss.pem Freeswitch logs do not show anything even at debug level 10.
So it seems to be a ssl connection problem. openssl1.0.1e is installed and Freeswitch was compiled against it beginning with ./bootsrap Freeswitch was checked out today, so it is up-to-date. Jssip console log shows: JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292 JsSIP | EVENT EMITTER | emitting event disconnected jssip-devel.js:187 JsSIP | UA | next connection attempt in 12 seconds I get this error both on Chromium and Firefox. Best regards Peter On 09/04/13 19:28, Muhammad Shahzad wrote:
If you are using self-signed certificates, then you need to add exception for them in your web browser, The easiest way to do it is, open below URL in your web browser and add exception for SSL certificate when prompted,
Then JSSIP will work fine.
Thank you.
On Wed, Sep 4, 2013 at 7:12 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
Try making your own wss.pem that is a valid http cert key pair.
On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de <mailto:lists@telefaks.de>> wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)
However this only works with 'ws' but not with secure 'wss'.
* In the log I can see that freeswitch sets wss-binding[:7443] * wss.pem is also present in the certs directory
But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error.
Anybody has a working wss connection with Jssip and can share his config with me?
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de <http://telefaks.de> Internet: www.telefaks.de <http://www.telefaks.de>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Mit freundlichen Grüßen Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk@hotmail.com <mailto:shari_786pk@hotmail.com> Email: shaheryarkh@googlemail.com <mailto:shaheryarkh@googlemail.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
Just another question: is there any way to trace the connection setup on the client side (besides console log) and on Freeswitch's side? In an unencrypted communication ngrep or pcap are very usefull. But in this encrypted scenario this seems to be no option. Best regards Peter On 09/04/13 22:25, Peter Steinbach wrote:
https://<FS-IP>:<WSS-port> I did this, also we have created our own wss.pem Freeswitch logs do not show anything even at debug level 10.
So it seems to be a ssl connection problem. openssl1.0.1e is installed and Freeswitch was compiled against it beginning with ./bootsrap Freeswitch was checked out today, so it is up-to-date. Jssip console log shows: JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292 JsSIP | EVENT EMITTER | emitting event disconnected jssip-devel.js:187 JsSIP | UA | next connection attempt in 12 seconds
I get this error both on Chromium and Firefox.
Best regards Peter
On 09/04/13 19:28, Muhammad Shahzad wrote:
If you are using self-signed certificates, then you need to add exception for them in your web browser, The easiest way to do it is, open below URL in your web browser and add exception for SSL certificate when prompted,
Then JSSIP will work fine.
Thank you.
On Wed, Sep 4, 2013 at 7:12 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
Try making your own wss.pem that is a valid http cert key pair.
On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de <mailto:lists@telefaks.de>> wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)
However this only works with 'ws' but not with secure 'wss'.
* In the log I can see that freeswitch sets wss-binding[:7443] * wss.pem is also present in the certs directory
But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error.
Anybody has a working wss connection with Jssip and can share his config with me?
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de <http://telefaks.de> Internet: www.telefaks.de <http://www.telefaks.de>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Mit freundlichen Grüßen Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk@hotmail.com <mailto:shari_786pk@hotmail.com> Email: shaheryarkh@googlemail.com <mailto:shaheryarkh@googlemail.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff. On Thu, Sep 5, 2013 at 11:23 AM, Peter Steinbach <lists@telefaks.de> wrote:
Just another question:
is there any way to trace the connection setup on the client side (besides console log) and on Freeswitch's side? In an unencrypted communication ngrep or pcap are very usefull. But in this encrypted scenario this seems to be no option.
Best regards Peter
On 09/04/13 22:25, Peter Steinbach wrote:
https://<FS-IP>:<WSS-port> I did this, also we have created our own wss.pem Freeswitch logs do not show anything even at debug level 10.
So it seems to be a ssl connection problem. openssl1.0.1e is installed and Freeswitch was compiled against it beginning with ./bootsrap Freeswitch was checked out today, so it is up-to-date. Jssip console log shows: JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292 JsSIP | EVENT EMITTER | emitting event disconnected jssip-devel.js:187 JsSIP | UA | next connection attempt in 12 seconds
I get this error both on Chromium and Firefox.
Best regards Peter
On 09/04/13 19:28, Muhammad Shahzad wrote:
If you are using self-signed certificates, then you need to add exception for them in your web browser, The easiest way to do it is, open below URL in your web browser and add exception for SSL certificate when prompted,
Then JSSIP will work fine.
Thank you.
On Wed, Sep 4, 2013 at 7:12 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Try making your own wss.pem that is a valid http cert key pair.
On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de>wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration: ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)
However this only works with 'ws' but not with secure 'wss'.
- In the log I can see that freeswitch sets wss-binding[:7443] - wss.pem is also present in the certs directory
But with the config: ws_servers: 'wss://my_domain.com:7443' I do not even get a connection and I receive a 1006 error.
Anybody has a working wss connection with Jssip and can share his config with me?
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Mit freundlichen Grüßen Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff. Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/192.168.178.102:40843/sip nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843
I am wondering about 3 things: * Host is down (112) (but netstat shows below that 7443 is open) * ws/192.168.178.102:40843/sip (I was expecting wss here instead of ws) * 500 Transport error detected Do you see where this behaviour may come from? netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch Jssip shows: JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292 By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips failed. reason = WS_INIT -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
Out of curiosity, are you on latest master? On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <lists@telefaks.de> wrote:
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff.
Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/ 192.168.178.102:40843/sip nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843
I am wondering about 3 things:
- Host is down (112) (but netstat shows below that 7443 is open) - ws/192.168.178.102:40843/sip (I was expecting wss here instead of ws) - 500 Transport error detected
Do you see where this behaviour may come from?
netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch
Jssip shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips failed. reason = WS_INIT
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
I downloaded and installed * the latest JsSip 0.3.0 Development (uncompressed code, 564KB): jssip-0.3.0.js and related "tryit" libs (2 days old now) * the lastest Freeswitch GIT (2 days old now) * Chromium is 28.0.1500 (Firefox shows the same behaviour) Best regards Peter On 09/06/13 18:25, Anthony Minessale wrote:
Out of curiosity, are you on latest master?
On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <lists@telefaks.de <mailto:lists@telefaks.de>> wrote:
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff.
Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/192.168.178.102:40843/sip <http://192.168.178.102:40843/sip> nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843 <http://192.168.178.102:40843>
I am wondering about 3 things:
* Host is down (112) (but netstat shows below that 7443 is open) * ws/192.168.178.102:40843/sip <http://192.168.178.102:40843/sip> (I was expecting wss here instead of ws) * 500 Transport error detected
Do you see where this behaviour may come from?
netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 <http://192.168.178.220:7443> 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch
Jssip shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips <http://192.168.178.220:7443/sips> failed. reason = WS_INIT
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de <http://telefaks.de> Internet: www.telefaks.de <http://www.telefaks.de>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
I finally got it, For those who run into the same problem: I missed the --with-openssl option in ./configure --with-openssl Best regards Peter On 09/06/13 21:26, Peter Steinbach wrote:
I downloaded and installed
* the latest JsSip 0.3.0 Development (uncompressed code, 564KB): jssip-0.3.0.js and related "tryit" libs (2 days old now) * the lastest Freeswitch GIT (2 days old now) * Chromium is 28.0.1500 (Firefox shows the same behaviour)
Best regards Peter
On 09/06/13 18:25, Anthony Minessale wrote:
Out of curiosity, are you on latest master?
On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <lists@telefaks.de <mailto:lists@telefaks.de>> wrote:
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff.
Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/192.168.178.102:40843/sip <http://192.168.178.102:40843/sip> nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843 <http://192.168.178.102:40843>
I am wondering about 3 things:
* Host is down (112) (but netstat shows below that 7443 is open) * ws/192.168.178.102:40843/sip <http://192.168.178.102:40843/sip> (I was expecting wss here instead of ws) * 500 Transport error detected
Do you see where this behaviour may come from?
netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 <http://192.168.178.220:7443> 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch
Jssip shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips <http://192.168.178.220:7443/sips> failed. reason = WS_INIT
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de <http://telefaks.de> Internet: www.telefaks.de <http://www.telefaks.de>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
i got the "reversed" issue, wss-binding works, ws-binding not. the chrome console log says: JsSIP | TRANSPORT | Connecting to WebSocket URI ws://mydomain:6001 without further outputs, sometimes it may print 400 error. im using freeswitch 1.4, maybe i'd try a newer version... 2013/10/7 Peter Steinbach <lists@telefaks.de>
I finally got it,
For those who run into the same problem:
I missed the --with-openssl option in ./configure --with-openssl
Best regards Peter
On 09/06/13 21:26, Peter Steinbach wrote:
I downloaded and installed
- the latest JsSip 0.3.0 Development (uncompressed code, 564KB): jssip-0.3.0.js and related "tryit" libs (2 days old now) - the lastest Freeswitch GIT (2 days old now) - Chromium is 28.0.1500 (Firefox shows the same behaviour)
Best regards Peter
On 09/06/13 18:25, Anthony Minessale wrote:
Out of curiosity, are you on latest master?
On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <lists@telefaks.de> wrote:
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff.
Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/ 192.168.178.102:40843/sip nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843
I am wondering about 3 things:
- Host is down (112) (but netstat shows below that 7443 is open) - ws/192.168.178.102:40843/sip (I was expecting wss here instead of ws) - 500 Transport error detected
Do you see where this behaviour may come from?
netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch
Jssip shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips failed. reason = WS_INIT
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
issue resolved by upgrading fs from 1.4.0 to 1.5.8. 2013/12/5 Vincent Xia <gmangudai@gmail.com>
i got the "reversed" issue, wss-binding works, ws-binding not. the chrome console log says: JsSIP | TRANSPORT | Connecting to WebSocket URI ws://mydomain:6001 without further outputs, sometimes it may print 400 error.
im using freeswitch 1.4, maybe i'd try a newer version...
2013/10/7 Peter Steinbach <lists@telefaks.de>
I finally got it,
For those who run into the same problem:
I missed the --with-openssl option in ./configure --with-openssl
Best regards Peter
On 09/06/13 21:26, Peter Steinbach wrote:
I downloaded and installed
- the latest JsSip 0.3.0 Development (uncompressed code, 564KB): jssip-0.3.0.js and related "tryit" libs (2 days old now) - the lastest Freeswitch GIT (2 days old now) - Chromium is 28.0.1500 (Firefox shows the same behaviour)
Best regards Peter
On 09/06/13 18:25, Anthony Minessale wrote:
Out of curiosity, are you on latest master?
On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <lists@telefaks.de>wrote:
On 09/06/13 00:52, Anthony Minessale wrote:
SSL stuff still shows handshake etc well in a pcap. you need sofia loglevel all 9 to see any connection stuff.
Thanks for the hint. Freeswitch log shows: tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70) tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down (112) tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2) tport.c:2096 tport_close() tport_close(0x7f59ccddbb70): ws/ 192.168.178.102:40843/sip nua_registrar.c:200 registrar_tport_error() tport error 0: Success tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by 0x7f59cce033e0 with (nil) tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event i_media_error 500 Transport error detected nua_stack.c:359 nua_application_event() nua: nua_application_event: entering tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set timer at 0 ms because zap tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70 destroy ws transport 0x7f59ccddbd60. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT: rfg21joso6g9bf1oblmtqg 192.168.178.102:40843
I am wondering about 3 things:
- Host is down (112) (but netstat shows below that 7443 is open) - ws/192.168.178.102:40843/sip (I was expecting wss here instead of ws) - 500 Transport error detected
Do you see where this behaviour may come from?
netstat -anlpe |grep 7443 tcp 0 0 192.168.178.220:7443 0.0.0.0:* LISTEN 0 1460052941 25340/freeswitch
Jssip shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443jssip-devel.js:556 JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717 JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611 JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614 JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
By the way, if I open http://192.168.178.220:7443 manually in the Chrome Browser, I read in Freeswitch's log: tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events IN tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0 tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming secondary on wss/192.168.178.220:7443/sips failed. reason = WS_INIT
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
-- With kind regards Peter Steinbach
Telefaks Services GmbHmailto:lists <lists> (att) telefaks.de Internet: www.telefaks.de
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Anthony Minessale
-
Muhammad Shahzad
-
Peter Steinbach
-
Vincent Xia