Freepbx 2.8.0.4
Every time I add or delete an extension in the Extensions module, SIP, DAHDI or ZAP (DAHDI compatibility mode) this extension:
;;;;;;[1]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=PRI 1 <1>
busydetect=no
busycount=7
accountcode=
channel=>g1
is added to my chan_dahdi_additional.conf file as the second listed extension. When asterisk reloads chan_dahdi.so can’t reload and gives this error:
[Jan 3 16:39:52] ERROR[5691] chan_dahdi.c: Syntax error parsing ‘g1’ at ‘g1’
[Jan 3 16:39:52] WARNING[5691] chan_dahdi.c: Reload of chan_dahdi.so is unsuccessful.
I have no idea where this extension is coming from. It certainly isn’t visible in the GUI under extensions or trunk. g1 is a PRI trunk that works just fine as long as I manually delete the entry for [1] then stop freepbx, restart dahdi and start freepbx.
Ideas?
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
;;;;;;[9984]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <9984>
busydetect=no
busycount=7
accountcode=
channel=>170
;;;;;;[9982]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <9982>
busydetect=no
busycount=7
accountcode=
channel=>169
;;;;;;[9986]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <9986>
busydetect=no
busycount=7
accountcode=
channel=>171
chan_dahdi.conf:
[channels]
language=en
#include chan_dahdi_additional.conf
#include chan_dahdi_custom.conf
/etc/dahdi/system.conf:
Autogenerated by /usr/sbin/dahdi_genconf on Mon Jan 3 11:04:45 2011
If you edit this file and execute /usr/sbin/dahdi_genconf again,
your manual changes will be LOST.
Dahdi Configuration File
This file is parsed by the Dahdi Configurator, dahdi_cfg
Span 1: TE4/0/1 “T4XXP (PCI) Card 0 Span 1” (MASTER)
span=1,1,0,esf,b8zs
termtype: te
bchan=1-23
dchan=24
echocanceller=mg2,1-23
Span 2: TE4/0/2 “T4XXP (PCI) Card 0 Span 2”
span=2,2,0,esf,b8zs
termtype: te
bchan=25-47
dchan=48
echocanceller=mg2,25-47
Span 3: TE4/0/3 “T4XXP (PCI) Card 0 Span 3”
span=3,3,0,esf,b8zs
termtype: te
bchan=49-71
dchan=72
echocanceller=mg2,49-71
Span 4: TE4/0/4 “T4XXP (PCI) Card 0 Span 4”
span=4,4,0,esf,b8zs
termtype: te
bchan=73-95
dchan=96
echocanceller=mg2,73-95
Span 5: TE4/1/1 “T4XXP (PCI) Card 1 Span 1”
span=5,1,0,esf,b8zs
termtype: te
bchan=97-119
dchan=120
echocanceller=mg2,97-119
Span 6: TE4/1/2 “T4XXP (PCI) Card 1 Span 2”
span=6,2,0,esf,b8zs
termtype: te
bchan=121-143
dchan=144
echocanceller=mg2,121-143
Span 7: TE4/1/3 “T4XXP (PCI) Card 1 Span 3”
span=7,3,0,esf,b8zs
termtype: te
bchan=145-167
dchan=168
echocanceller=mg2,145-167
Span 8: TE4/1/4 “T4XXP (PCI) Card 1 Span 4”
span=8,4,0,esf,b8zs
termtype: te
fxoks=169-192
echocanceller=mg2,169-192
Global data
loadzone = us
defaultzone = us
/etc/asterisk/chan_dahdi_custom.conf:
;
signalling = pri_cpe
switchtype = national
group = 1
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
callerid = asreceived
threewaycalling = yes
channel => 1-23
;
signalling = pri_cpe
switchtype = national
group = 2
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
callerid = asreceived
threewaycalling = yes
channel => 25-47
;
signalling = pri_cpe
switchtype = national
group = 3
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
threewaycalling = no
channel => 49-71
;
signalling = pri_cpe
switchtype = national
group = 4
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
threewaycalling = no
channel => 73-95
;
signalling = pri_cpe
switchtype = national
group = 5
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
threewaycalling = no
channel => 97-119
;
signalling = pri_cpe
switchtype = national
group = 6
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
threewaycalling = no
channel => 121-143
;
signalling = pri_cpe
switchtype = national
group = 7
resetinterval = 3600
echocancel = yes
context = from-internal
usecallerid = yes
threewaycalling = no
channel => 145-167
;
signalling = fxoks