I have put a bunch of extensions in the 200-399 range into the system in freepbx2.2.1. The sip_additional.conf gets written with all of the proper contexts for the 200s and iax_additional.conf for all of the 300s. However all I get in extensions_additional.conf is:
------------ begin file --------------------
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui
[from-internal-additional]
include => from-internal-additional-custom
exten => h,1,Hangup
; end of [from-internal-additional]
-------------- end file -------------------
That gets written every time. I can erase the file and exactly that comes back.
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf…OK
Reading /etc/amportal.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Please Reload Asterisk by visiting http://192.168.10.88/admin
Does not seem to be anything here that gives a hint. Any other ideas?
take a look at the retrieve_conf logs in your /var/log/asterisk directory or run retrieve_conf from the command line to see if it gives you a hint. There have been password issues reported, so try changing your SQL and MANAGER passwords to the defaults to see if that changes the behavior - or at least remove any non-alphanumeric characters in your passwords and see what that does.