I have a custom file named extensions_north.conf - This file exists on server A.
extensions_north.conf contains all of the extensions sitting on server B.
I include extensions_north.conf from file extensions_custom.conf:
; All custom context should contain the string ‘custom’ in it’s name
; Extensions in AMP have access to the ‘from-internal’ context.
; The context ‘from-internal-custom’ is included in ‘from-internal’ by default
#include extensions_trixbox.conf
#include extensions_hud.conf
#include extensions_north.conf
[from-internal-custom]
include => from-internal-trixbox
The contents of extensions_north.conf keeps getting truncated to a single line; upon modifying extensions via freepbx on server A.
extensions_north.conf:
[ext-local-custom]
exten => _207,1,Macro(dialout-trunk,2,${EXTEN})
exten => _208,1,Macro(dialout-trunk,2,${EXTEN})
exten => _210,1,Macro(dialout-trunk,2,${EXTEN})
I thought that by creating my own extensions_blah.conf file, it would keep it from being touched by Freepbx? Is there somewhere else I should be including these extensions in one of the .conf files?
Thanks.
Kirk.