First off. Don’t use the DAHDI module written by FreePBX if you want your settings to stay
Then edit “chan_dahdi.conf”. I’m running 2.9 and I just checked a remote machine and everything is still there and in the right places. Even after a reload.
;# Flash Operator Panel will parse this file for dahdi trunk buttons
;# AMPLABEL will be used for the display labels on the buttons
;# %c Dahdi Channel number
;# %n Line number
;# %N Line number, but restart counter
;# Example:
;# ;AMPLABEL:Channel %c - Button %n
;# For Dahdi/* buttons use the following
;# (where x=number of buttons to dislpay)
;# ;AMPWILDCARDLABEL(x):MyLabel
;rxgain=8.0
;txgain=4.0
[channels]
language=en
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
; Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
;context=to-milliwatt
rxgain=10.5
txgain=10.5
channel => 1
callerid=
group=
context=default
;;; line="2 WCTDM/4/1 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
;context=to-milliwatt
rxgain=10.5
txgain=10.5
channel => 2
callerid=
group=
context=default
;;; line="3 WCTDM/4/2 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
;context=to-milliwatt
rxgain=10.5
txgain=10.5
channel => 3
callerid=
group=
context=default
;;; line="4 WCTDM/4/3 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
;context=to-milliwatt
rxgain=10.5
txgain=10.5
channel => 4
callerid=
group=
context=default