-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question : Can i use drachitio-srf support WSS ? And can i use it to register with SIP server via WSS #94
Comments
This is a fine place to ask questions. You should be able to, though I don't think I have tried this myself. The first step is to configure the drachtio server for WSS (let me know if you need help on that). Then you would use srf#createUAC, specifying a sips uri with transport=wss |
Hi, I looked at the documentation and i realised that using https://drachtio.org/docs#sip-proxy is better option that createUAC. I want to build SIP to WEBRTC gateway i.e drachtio will recieve SIP requests via TCP and UDP and it has to proxy it via WS and WSS. I have tried below code but registers are not being forwarded :
I have verified that drachtio is listening on WS socket :
I am getting below error in logs :
I am facing this issue on with WS.It working fine with TCP and UDP. Thanks |
can you provide a log with loglevel debug and sofia loglevel 9. |
Please find logs file : |
so you are trying to send over an unsecured websocket (strange) to the address sc4test.sip.teledge.com, which resolves to 198.136.226.1. Since this is a tcp-based connection you would need something listening on that address port 5060 for tcp connections, and apparently nothing is. |
I am able to connect and register using WEBRTC SIP client using WS and WSS both . I have tried with sipml5 (https://www.doubango.org/sipml5/call.htm?svn=252) and SIP.JS. I dont think there is any issue with server. I have also verified that there is no firewall rules blocking any traffic on port 5060. P.S : I am using WS so that i can see packet using Network Sniffer during development.It makes troubleshooting easy. |
can you get a pcap file showing all traffic between your server and 198.136.226.1 so we can have a look at the tcp connection establishment? It seems to be failing for some reason |
Question : Can i use drachitio-srf support WSS ? And can i use it to register with SIP server via WSS as a UAC ?
P.S : I am not sure if this is right place to ask question but i could find any other place to get help.In case there is mail list or forum please point me to it.
The text was updated successfully, but these errors were encountered: