Lachek Butalek
2006-Jun-08 09:24 UTC
[Asterisk-Users] FreePBX 2.1.0: Manually rewriting extensions_additional.conf
Figuring I knew what I was doing (I didn't - surprise) I added a totally unnecessary line in /etc/asterisk/extensions_additional.conf a couple of days ago. Troubleshooting a dialing rule issue, I'm now realizing that FreePBX is updating its database with the new settings but is not rewriting/updating extensions_additional.conf with the changes I'm making. I've tried renaming the file, changing its ownership, changing its permissions, restarting the portal, all without any success. Web resources on this issue claim the opposite problem - that custom changes to extensions_additional.conf will be automatically rewritten every time FreePBX/AMP is updated. If that was true, I'd be done - unfortunately, it seems this is not the case. I really don't want to reinstall FreePBX and redo my entire configuration again... :( Any assistance would be greatly appreciated.
Tom Vile
2006-Jun-08 10:07 UTC
[Asterisk-Users] FreePBX 2.1.0: Manually rewriting extensions_additional.conf
you put custom code in the _custom.conf files not in the _addtional.conf files. You can also add the changes directly to the Mysql database as well and they will be included in the _addtional.conf files. On 6/8/06, Lachek Butalek <lachek@gmail.com> wrote:> Figuring I knew what I was doing (I didn't - surprise) I added a > totally unnecessary line in /etc/asterisk/extensions_additional.conf a > couple of days ago. Troubleshooting a dialing rule issue, I'm now > realizing that FreePBX is updating its database with the new settings > but is not rewriting/updating extensions_additional.conf with the > changes I'm making. > > I've tried renaming the file, changing its ownership, changing its > permissions, restarting the portal, all without any success. Web > resources on this issue claim the opposite problem - that custom > changes to extensions_additional.conf will be automatically rewritten > every time FreePBX/AMP is updated. If that was true, I'd be done - > unfortunately, it seems this is not the case. > > I really don't want to reinstall FreePBX and redo my entire > configuration again... :( > > Any assistance would be greatly appreciated. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Tom Vile Baldwin Technology Solutions, Inc Consulting - Web Design - VoIP Telephony www.baldwintechsolutions.com Phone: 518-631-2855 x205 Fax: 518-631-2856
Tzafrir Cohen
2006-Jun-08 11:00 UTC
[Asterisk-Users] FreePBX 2.1.0: Manually rewriting extensions_additional.conf
On Thu, Jun 08, 2006 at 01:07:30PM -0400, Tom Vile wrote:> you put custom code in the _custom.conf files not in the > _addtional.conf files. You can also add the changes directly to the > Mysql database as well and they will be included in the > _addtional.conf files.Or change the script that generates the _additional.conf file... -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 tzafrir.cohen@xorcom.com http://www.xorcom.com