SIP over Websocket log

52 views
Skip to first unread message

rusconi...@gmail.com

unread,
Nov 24, 2016, 4:09:12 PM11/24/16
to mobicents-public
Hello, 
I'm studying click-2-call example to attempt to add some features in a negotiation between two browsers end-points. Since they use SIP over WebSocket, I'm wondering if there is a way to get a log of the WebSocket Connection to better understand which messages are sent from an end-point to the server.

Thank you for your help :)

John Hemming

unread,
Dec 8, 2016, 8:45:14 AM12/8/16
to mobicents-public
I would use google chrome as the browser and use F12 to give you the developer access.  Then under network you can look at network communications and that will also I hear give you websocket frames, but I have not tried that yet.  I have used it for HTTP.

Jaime Casero

unread,
Dec 14, 2016, 9:23:01 AM12/14/16
to mobicents-public
As John mentioned you could potentially use the browser console to see the SIP messages (also you may use any network capture tool like wireshark as usual).

Please notice that a websocket call will not be any different from other type of calls in terms of SIP signalling. If you are really interested in the websocket part (HTTP handshake to upgrade the http conenction into websocket), then you will probably need a network capture tool instead of browser console. Try to use unsecure Websocket so the network capture tool may easily display all the content...

John Hemming

unread,
Dec 14, 2016, 1:22:52 PM12/14/16
to mobicents-public
My version of Wireshark does not pick up messages sent from my laptop client to my laptop server.  That is probably because they don't get close to the network card (wifi).  I am not quite sure how I can pick those up through Wireshark, but the console is so good for the frames I am completely unconcerned.  Any packet sniffer would also show the control characters around the frames and they really should not be worth looking at.

Reply all
Reply to author
Forward
0 new messages