Standard T1 trunk persists in showing up as PRI in FreePBX

Hi all,

Bit of a perplexing problem. I’m trying to set up a non-PRI T1 in FreePBX, but it always shows PRI settings, and keeps trying to reserve a D-channel, which is definitely not what I want. If I go in and manually edit the config files, I can get it running with no problems, but is there any way to talk the GUI into using the correct settings? A couple of examples of the ‘incorrect’ settings which the GUI insists on writing to config files are below.

;incorrect settings from chan_dahdi_groups.conf
; [span_8]
signalling=em_w
switchtype=national
pridialplan=national
prilocaldialplan=national
group=0
context=from-digital-custom
channel=>169-191

;correct settings
; [span_8]
signalling=em_w
group=0
context=from-digital-custom
channel=>169-192

;incorrect settings from /etc/dahdi/system.conf

span=1,0,0,ESF,B8ZS
span=2,0,0,ESF,B8ZS
span=3,0,0,ESF,B8ZS
span=4,0,0,ESF,B8ZS
span=5,0,0,ESF,B8ZS
span=6,0,0,ESF,B8ZS
span=7,0,0,ESF,B8ZS
span=8,0,0,D4,AMI
e&m=169-191
echocanceller=oslec,169-191
bchan=1-23,25-47,49-71,73-95,97-119,121-143,145-167
hardhdlc=24,48,72,96,120,144,168
loadzone=us
defaultzone=us

;correct settings for system.conf

span=1,0,0,ESF,B8ZS
span=2,0,0,ESF,B8ZS
span=3,0,0,ESF,B8ZS
span=4,0,0,ESF,B8ZS
span=5,0,0,ESF,B8ZS
span=6,0,0,ESF,B8ZS
span=7,0,0,ESF,B8ZS
span=8,0,0,D4,AMI
e&m=169-192
echocanceller=oslec,169-192
bchan=1-23,25-47,49-71,73-95,97-119,121-143,145-167
hardhdlc=24,48,72,96,120,144,168
loadzone=us
defaultzone=us

The settings changes appear to be retained through reboots, but any time a change is made in the GUI, the config files are of course rewritten. The GUI does not appear to have an option to make a span non-PRI (I’d post a screenshot of my available options in DAHDI config, but it’s not allowing me to post a link). How can I make these changes in the GUI so that they’re saved in the database?

I’m petty sure the Dahdi helper module in FreePBX doesn’t cover your scenario, just disable/uninstall it. and everything will be hunky-dory.