Calls going through the wrong channel even though G0 is selected

I have 6 T1 channels. The first 5 are for fxs and the last on is for T1. For some reason recently outbound calls are going to channel 60, even though I told the outbound route to use g0.

[2015-10-19 22:33:41] VERBOSE[12540][C-0000e01c] app_dial.c: -- Called DAHDI/g0/XXXXXXX

[2015-10-19 22:33:41] VERBOSE[12540][C-0000e01c] app_dial.c: – DAHDI/60-1 is ringing
[2015-10-19 22:33:41] VERBOSE[12539][C-0000e01c] app_dial.c: – Local/[email protected];1 is ringing
[2015-10-19 22:33:43] VERBOSE[12540][C-0000e01c] app_dial.c: – DAHDI/60-1 is ringing
[2015-10-19 22:33:49] VERBOSE[12540][C-0000e01c] app_dial.c: – DAHDI/60-1 is ringing
[2015-10-19 22:33:55] VERBOSE[12540][C-0000e01c] app_dial.c: – DAHDI/60-1 is ringing

Here is my dahdi config file. Thanks

;--------------------------------------------------------------------------------;

; 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 ;
;--------------------------------------------------------------------------------;
;

; [span_1]
signalling=fxo_ls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-internal
channel=>1-23

; [span_2]
signalling=fxo_ls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-internal
channel=>25-47

; [span_3]
signalling=fxo_ls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-internal
channel=>49-71

; [span_4]
signalling=fxo_ls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-internal
channel=>73-95

; [span_5]
signalling=fxo_ls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-internal
channel=>97-119

; [span_6]
signalling=pri_cpe
switchtype=national
pridialplan=national
prilocaldialplan=national
group=0
context=from-trunk
channel=>121-143

I thought I said something like this alreday
.
.
.

Well that’s all a little screwed up smile

There is no default context in FreePBX

For RBS signaling (fxo_ls included and presumably a channel bank) there are 24 channels per span not 23 and wrong switchtype

Everything is in Group 0 (and 63) and probably shouldn’t be for proper routing.
.
.

I would start over possibly without the FreePBX dahdi helper module involved if you ever did.

http://www.voip-info.org/wiki/view/DAHDI1

when /etc/dahdi/sytem.conf and /etc/astererisk/dahdi-channels.conf agree as to mapping channels it should work,

.
.
.

But tht was another thread, and you still need to fix it. Again:-

You just can’t use fxo_ls signalling on a PRI, RBS T1’s have 24 channels not 23, euroISDN has 30, etc. . . . Stop using the dahdi helper module, it’s not working for you.