sip_additional.conf corrupted


Having some major problems here…

Everything was working perfectly, then suddenly started getting errors on the log:

[Mar 31 09:17:02] NOTICE[15285] chan_sip.c: Registration from ‘“user1” <sip: [email protected]>’ failed for ‘’ - No matching peer found

When checking config it looks ok (on freepbx), but when I checked the sip_additional.conf I only had this:

; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui


There was a bad extension (no ID on it). I removed the extension from the mysql DB in tables users and devices…still not building the file…