That’s a good test. I think I understand the problem now.

Bono does not support secure websockets over SSL/TLS. That would explain why 
sipML5 was not connecting to your Bono server.

However, it is possible to use plain websockets with the sipML5 demo. In the 
address bar at the top of the screen, you will see the address 
https://www.doubango.org/sipml5/call.htm. If you change this to 
http://www.doubango.org/sipml5/call.htm, you should be able to open insecure 
websocket connections.

Yours,

Chris


From: Ya Sheng Liu [mailto:anderson08121...@gmail.com]
Sent: 08 August 2016 07:32
To: Chris Elford (projectclearwater.org) <ch...@projectclearwater.org>
Subject: Re: [Project Clearwater] About Clearwater webRTC

Hi Chris,

I write a simple websocket javascript clients using nodejs. It can connect to 
my bono with plain websocket connection( our bono is accessible to the public 
internet), and it can send message to bono.

But I try to connect to bono with wss(secure websocket connection), It didn't 
work, and it didn't have anything about websocket.cpp on bono as you said !

So, Is the bono a websocket server supported SSL/TLS on 5062 port? The sipml5 
is forced to use wss now, so I cannot use plain websocket on his demo pages.

Thanks!

2016-08-05 17:26 GMT+08:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<ch...@projectclearwater.org<mailto:ch...@projectclearwater.org>>:
Hi,

Thank you for sending over the log. I searched through the log for attempted 
websocket connections, but could not find any.

When a websocket connection is created, I would expect to see a log from 
websocket.cpp with the text “Incoming connection from”.

I think the first thing to investigate is why your websocket requests are not 
reaching your server. Do you have DNS records set up to allow the demo to route 
the requests to your Bono node? Is your Bono node accessible to the public 
internet over TCP?

Yours,

Chris

From: Ya Sheng Liu 
[mailto:anderson08121...@gmail.com<mailto:anderson08121...@gmail.com>]
Sent: 04 August 2016 07:07

To: Chris Elford (projectclearwater.org<http://projectclearwater.org>) 
<ch...@projectclearwater.org<mailto:ch...@projectclearwater.org>>
Subject: Re: [Project Clearwater] About Clearwater webRTC

Hello,

Thanks for your reply,

I read the RFC7118 documents(The WebSocket Protocol as a Transport for the 
Session Initiation Protocol) that can let us to send the sip through 
websocket(to my bono directly),

I try to use sipml5 to assign my bono as websocket sever, but it failed to 
connect through wss.

Is any other options that I should set except this  
http://clearwater.readthedocs.io/en/stable/WebRTC_support_in_Clearwater.html 
page.

Please give me some help.

Attachment is my whole bono log!

Thanks you!



2016-08-03 16:27 GMT+08:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<ch...@projectclearwater.org<mailto:ch...@projectclearwater.org>>:
Hmm,

I would be able to tell you more with access to all of your Bono log. From the 
snippet that you have pasted below, it looks like Bono is struggling to connect 
over TCP to something, but I would need more context to see exactly what. My 
suspicion is that your Bono is unable to talk to Sprout.

Are you able to send over the whole bono log so that I can take a look?

Chris

From: Ya Sheng Liu 
[mailto:anderson08121...@gmail.com<mailto:anderson08121...@gmail.com>]
Sent: 28 July 2016 07:53
To: Chris Elford (projectclearwater.org<http://projectclearwater.org>) 
<ch...@projectclearwater.org<mailto:ch...@projectclearwater.org>>
Subject: Re: [Project Clearwater] About Clearwater webRTC

Hi Chris,

I use the latest version of Firefox, and I use the Wireshark to and tcpdump to 
capture packet on my bono port 5062 with filter tcp.port==5062 || http(I 
consider it as websocket handshake packets), then only gets the tcp ack 
packets. I didn't get any request or response packets before the ack 
packets.(The below photo is my Wireshark result, red are public ip from web 
client, blue are public ip to my bono)
<removed>
​
Below is part of my bono logo(set to log_level=5, green is my sprout ip). I saw 
many connection to my sprout, but I cannot find the bono.5062 pattern by using 
vim search /. Is it normal?
<removed>

On the sipml5 expert setting, I only set the WebSocket Server URL to my bono. I 
didn't set the turn server(because I use the public ip. But I also try it, it 
doesn't work).

Only the ack packets were be capture on bono port 5062 is normal?(I guess I 
will capture the handshake packets)

Thanks!

​

2016-07-28 0:23 GMT+08:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<ch...@projectclearwater.org<mailto:ch...@projectclearwater.org>>:
Hi,

We test Project Clearwater with WebRTC at the start of every sprint (every 2 
weeks) to make sure that it continues to work. My colleague, Rob, made a 
successful call over websockets on Tuesday, using the sipml5 demo site. It 
sounds like there is some difference between your setup and ours that is 
causing the problem.

The first thing to check is that you are using a browser that supports the 
sipml5 demo using websockets. We have found that calls do not work when we use 
Chrome, but they do work with recent versions of Firefox.

The second thing that I would look at is whether the websocket request is 
reaching Bono. I suggest running a packet capture on Bono e.g. using tcpdump, 
then checking to see whether the packets are making it through your network. 
You should be able to filter on port 5062. If nothing shows up, then it is 
worth checking that your firewall is configured correctly.

If that does not identify the problem, can you send us debug logs from Bono 
showing a call? You can find instructions for setting the log level to 5 at 
http://clearwater.readthedocs.io/en/stable/Troubleshooting_and_Recovery.html#bono.

I hope that helps.

Yours,

Chris

From: Clearwater 
[mailto:clearwater-boun...@lists.projectclearwater.org<mailto:clearwater-boun...@lists.projectclearwater.org>]
 On Behalf Of ???
Sent: 27 July 2016 08:15
To: 
clearwater@lists.projectclearwater.org<mailto:clearwater@lists.projectclearwater.org>
Subject: [Project Clearwater] About Clearwater webRTC

Hi,

I am testing Clearwater webRTC. I try the sipml5 from 
http://clearwater.readthedocs.io/en/stable/WebRTC_support_in_Clearwater.html 
page.
I have installed  clearwater to six VMware respectively and used six public ip, 
and follw the page
instructions with above page, but it seems not work to establish websocket 
connect to my bono
ip. Then, I try to set SIP outbound proxy options instead of setting websocket 
options.
It now work and can make a sipnl5-sipml5 call. I use Wireshark to capture sip 
packets, it seems
sipml5 make a websockets-sip transform through there(sipml5) server with 
webrtc2sip.

So, I have a question that is clearwater a websockets support or clearwater 
just dependent on sipml5 server to transform websockets to sip packets then 
sent to bono!

Is clearwater use websocket with all stages(from register to make a call to 
speak with other)?

I also try the JSSIP demo, it also cannot make a websocket to the bono 5062 
port!!

Looking forward to your reply! Thanks!



_______________________________________________
Clearwater mailing list
Clearwater@lists.projectclearwater.org
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to