How to set permanent modifies in /etc/asterisk/sip_general_additional.conf trixbox CE 2.6.x

braindead
Posts: 4
Member Since:
2008-01-07

Hi all I need to set in a perment way:
context=from-trunk
in
/etc/asterisk/sip_general_additional.conf

I can modify this file from the gui or from the shell, but as soon as I save some setting in the gui and it does the reload, it always overwrites to its default, that is:

context=from-sip-external

So, how can i set a value in a permanent way in that file?

Thanks in advance.



skykingoh
Posts: 1012
Member Since:
2007-12-17
included custom files

Take a look at the order of the includes.

Any file with custom in the filename is not written by FreePBX.

So sip_custom_post would be the last file to be parsed on a sip reload.

Scott



braindead
Posts: 4
Member Since:
2008-01-07
Thanks, you're right!!!

Thanks, you're right!!!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.