ricardojlrufino / webphone-sip

WebRTC SIP based VoIP client software (+chrome extension)
https://ricardojlrufino.github.io/webphone-sip/
99 stars 58 forks source link

Domain and sip proxy only accept FQDN, but not IP's #1

Closed hsingfoo closed 6 years ago

hsingfoo commented 7 years ago

As per subject, it would be very useful if the domain and sip proxy fields accept IP numbers.

ricardojlrufino commented 7 years ago

Please change and make the PR

hsingfoo commented 7 years ago

Sorry, I am not a programmer and lack the skills. Just providing feedback.

ricardojlrufino commented 7 years ago

There is no validation to block IP, what problem did you have ?

hsingfoo commented 7 years ago

My test server is 192.168.2.200 and I use this in X-lite without a problem. In WP I use 192.168.2.200 both as domain and SIP proxy, I can save, but I don;t see any registration effort on the Freeswitch CLI nor can I select the dial pad in WP. I can only stay on the config page.

ricardojlrufino commented 7 years ago

You need use WebRTC port: :7443 .. on SIP Proxy

hsingfoo commented 7 years ago

I see that port 7443 is already hardcoded?

https://github.com/ricardojlrufino/webphone-sip/search?q=7443&type=Code&utf8=%E2%9C%93

ricardojlrufino commented 7 years ago

No, this is only a comment

hsingfoo commented 7 years ago

Are you sure? for I belive the complete wss:// is constructed with the hardcoded 7443 port?

hsingfoo commented 7 years ago

Still no joy. Please see screenshot. I can save, I can see the link icon spin on the lower right. I see no activity on the freeswitch CLI and I can not select the dial tab.

ui
ricardojlrufino commented 7 years ago

You need see logs... from freeswitch And check if this is enabled: https://freeswitch.org/confluence/display/FREESWITCH/WebRTC

ricardojlrufino commented 7 years ago

You need a valid SSL certificate

hsingfoo commented 7 years ago

Yes, I remember that when testing with mod_vertio. Now how to figure it out how to do this with a test machine on a local test LAN with no FQDN. But that is a wss:// issue