Skip to main content

Permissions of sip_peers.include causing all Registrations to Drop

Posted by NickJ on Mon, 10/30/2017

Hi Thirdlane Team,
Found an issue in the latest release,
We installed at thirdlane-en-mt-8.0-x86_64-ast11
Started loading tenants and have been slowly upgrading the boxes to 8.2.1.1,

I've noticed when I change something in the Web UI related to the SIP setup (Ie, change a User's SIP Password from the web interface) and save it, the "SIP reload" it does when I save, can no longer access sip_peers.include due to a permissions issue.

I check the permissions before & after and I can see after the change in the web interface once I hit save the owner changes to root from asterisk and the permissions change too,

Asterisk output when I save a change from WebUI:
https://imgur.com/inRSADV

File permissions after a change has been saved:
https://imgur.com/oLQ6nPa

File permissions I change it to make it work:
https://imgur.com/oLQ6nPa

Please advise how I can stop the changes from breaking all the contents of sip_peers.include