InnovateAsterisk / Browser-Phone

A fully featured browser based WebRTC SIP phone for Asterisk
https://www.innovateasterisk.com
GNU Affero General Public License v3.0
499 stars 245 forks source link

Registration Failed: Forbidden #445

Open prathibhacdac opened 1 year ago

prathibhacdac commented 1 year ago
          Now I've changed the port no to a non-standard port no.

Originally posted by @prathibhacdac in https://github.com/InnovateAsterisk/Browser-Phone/issues/319#issuecomment-1473667429

InnovateAsterisk commented 1 year ago

Yes, if you change the ports that you connect on, then the account settings in the browser phone must change too.

prathibhacdac commented 1 year ago

I've changed the account settings. But getting Registration Failed: Forbidden error.

InnovateAsterisk commented 1 year ago

Confirm that the ports are in fact open on the server. Asterisk can quietly fail to open the http ports.

sudo netstat -tulpn

This should show the port is open.

Then, if you have firewalls, then you now have to open that non-standard port too.

prathibhacdac commented 1 year ago

When I give the domain name as erss.in, in internal network it is getting registered. But fails when tried from external network.

prathibhacdac commented 1 year ago

Non standard port is opened in firewall. I'm able to access the site. Only registration is getting failed.

InnovateAsterisk commented 1 year ago

When I give the domain name as erss.in, in internal network it is getting registered. But fails when tried from external network.

Does it resolve correctly, are you using a host file to get to to route locally? Seems like there may be a NAT forward rule that must forward traffic inward from the web to the server.