Dahdi busydetect does not work

Hi,

I’ve installed AsteriskNOW with Asterisk version 1.6.2.23 with FreePBX version 2.10.1.4. I’m using dahdi with OpenVox A1200P card for 4 analog lines (I have past successful experience with that).

Everything works fine: I can dial out and in. Seven internal extensions are connected and fully operational. However, there is one major problem and that is the “busy” signal is not being detected! It causes, of course, many problems (trunks stay open, rendering the system with no free lines, voicemails are becoming enormous, etc.)

As I have experience with that, I’ve set in chan_dahdi.conf:
busydetect=yes
busycount=3

but, it looks like the system ignores this.

I’ve restarted the services, then rebooted the entire server, then disabled the Dahdi config module in FreePBX. Nothing helped!

Can anyone help me with that?

busydetect is your last resort when all other disconnect options with your telco are unavailable or you are stuck with “ground start” FXO’s.

If they can’t or won’t provide “disconnect supervision” (battery disconnect usually for 500 ms. ), you could try

hanguponpolarityswitch=yes

as some locales use that methodology instead.

Without

busypattern=500,500 ;in milliseconds

any repeated pattern of tone and no tone repeated busycount times will hangup your hardware (well, at least it WILL hangup legitimate Digium hardware :wink: ), busypattern allows more selectivity and fewer false hangups caused by forklift trucks backing up. You can measure indirectly the tone cadence sent by the Telco by using dahdi_monitor to send the audio stream to a file.

p.s. As many might point out your choice of AsteriskNow and Asterisk 1.6 is probably not the wisest ones to make, I suggest youi start over with a more functional and modern distribution. As you are here, try the Schmooze/FreePBX one linked to from this very page.

Thanks for the tip, but did not make any difference. I did what you suggested, while keeping only the
hanguponpolarityswitch=yes

without the previous settings, but it did not change the outcome.

I suspect that the chan_dahdi.conf is not being parsed by the system for some reason. I understand your point, but still, even if busydetect was a bad choice it should have been performed, like the hanguponpolarityswitch=yes.

Any other thought of how I can resolve this?

You can verify settings by doing a ‘dahdi show channel xx’ where xx is the output of the ‘dahdi show channels’ command.

Who is the provider (are these ilec lines from a cable company perhaps).

Are you using the Openvox DAHDI drivers? Does it have an exclusive irq, check via lspci command at Linux shell.

Here are the settings of channel 1. I got same responses for the other channels.

dahdi show channel 1
Channel: 1
File Descriptor: 16
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Mailbox: 1005@device
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
DND: no
Echo Cancellation:
128 taps
(unless TDM bridged) currently OFF
Wait for dialtone: 0ms
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook

As for your other questions:
The provide is Bezeq (The Israeli leading provider). Lines are analog. Don’t know if they are ilec, but it is not a cable company).

Card is OpenVox A1200P. I had an identical configuration with the previous machine (I am just upgrading it now), and there the busydetect worked perfectly.

lcpci -vvv output is here:

04:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device 9100:0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 32 (250ns min, 32000ns max)
Interrupt: pin A routed to IRQ 177
Region 0: I/O ports at d000 [size=256]
Region 1: Memory at d0400000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA PME(D0+,D1-,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: opvxa1200
Kernel modules: opvxa1200, hisax

sorry, I missed the essence of your question above. Checked the IRQs:

lspci -vvv | grep IRQ
Interrupt: pin A routed to IRQ 10
Interrupt: pin A routed to IRQ 58
Interrupt: pin A routed to IRQ 225
Interrupt: pin B routed to IRQ 233
Interrupt: pin C routed to IRQ 217
Interrupt: pin D routed to IRQ 169
Interrupt: pin A routed to IRQ 225
Interrupt: pin A routed to IRQ 217
Interrupt: pin B routed to IRQ 233
Interrupt: pin B routed to IRQ 233
Interrupt: pin A routed to IRQ 50
Interrupt: pin A routed to IRQ 177

the last one belongs to the a1200p.

Do you have your localization set?

Please post contents of all files in /etc and /etc/asterisk that contains the string dahdi in the filename.

Restart Asterisk with amportal restart then grep /var/log/asterisk/full for the string dahdi occurring at the time of restart.

/etc/dahdi/system.conf

Autogenerated by /usr/sbin/dahdi_genconf on Sat Dec 29 14:15:54 2012

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: OPVXA1200/12 “OpenVox A1200P/A800P Board 13” (MASTER)

fxsks=1
echocanceller=MG2,1
fxsks=2
echocanceller=MG2,2
fxsks=3
echocanceller=MG2,3
fxoks=4
echocanceller=MG2,4

channel 5, OPVXA1200/12/4, no module.

channel 6, OPVXA1200/12/5, no module.

channel 7, OPVXA1200/12/6, no module.

channel 8, OPVXA1200/12/7, no module.

channel 9, OPVXA1200/12/8, no module.

channel 10, OPVXA1200/12/9, no module.

channel 11, OPVXA1200/12/10, no module.

channel 12, OPVXA1200/12/11, no module.

Global data

loadzone = il
defaultzone = il

/etc/asterisk/chan_dahdi.conf

; Copied from DAHDI Module of FreePBX

[general]

#include chan_dahdi_general.conf

[channels]

;hanguponpolarityswitch=yes
busydetect=yes
busycount=3
;busypattern=500,500

; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf

; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
#include dahdi-channels.conf

/etc/asterisk/chan_dahdi_general.conf

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

/etc/asterisk/chan_dahdi_groups.conf

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

/etc/asterisk/chan_dahdi_additional.conf

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

;;;;;;[1005]
signalling=fxo_ks
pickupgroup=
mailbox=1005@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=Door <1005>
busydetect=no
busycount=7
accountcode=
channel=>4

/etc/asterisk/dahdi-channels.conf

; Autogenerated by /usr/sbin/dahdi_genconf on Sat Dec 29 14:15:54 2012
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: OPVXA1200/12 “OpenVox A1200P/A800P Board 13” (MASTER)
;;; line="1 OPVXA1200/12/0 FXSKS (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="2 OPVXA1200/12/1 FXSKS (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default

;;; line="3 OPVXA1200/12/2 FXSKS (EC: MG2 - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 OPVXA1200/12/3 FXOKS (In use) (EC: MG2 - INACTIVE)"
signalling=fxo_ks
callerid=“Channel 4” <4004>
mailbox=4004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default

log with grep dahdi at the restart:

[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/11, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/10, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/9, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/8, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/7, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/6, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/5, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/4, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/3, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/2, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove macro-dial-one/zap2dahdi/1, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/20, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/19, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/18, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/17, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/16, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/15, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/14, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/13, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/12, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/11, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/10, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/9, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/8, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/7, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/6, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/5, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/4, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/3, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/2, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/s/1, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/_X./2, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] pbx.c: – Remove from-dahdi/_X./1, registrar=pbx_config; con=((nil)); con->root=(nil)
[2012-12-30 11:13:06] VERBOSE[30876] chan_dahdi.c: == Unregistered channel -2
[2012-12-30 11:13:06] VERBOSE[30876] chan_dahdi.c: == Unregistered channel 1
[2012-12-30 11:13:06] VERBOSE[30876] chan_dahdi.c: == Unregistered channel 2
[2012-12-30 11:13:06] VERBOSE[30876] chan_dahdi.c: == Unregistered channel 3
[2012-12-30 11:13:06] VERBOSE[30876] chan_dahdi.c: == Unregistered channel 4
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Including context ‘from-dahdi’ in context ‘from-zaptel’
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Registered extension context ‘from-dahdi’ (0x2aaaac063fd0) in local table 0x21ac910; registrar: pbx_config
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Including context ‘from-dahdi-custom’ in context ‘from-dahdi’
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘_X.’ priority 1 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘_X.’ priority 2 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 1 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 2 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 3 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 4 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 5 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 6 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 7 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 8 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 9 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 10 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 11 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 12 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 13 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 14 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 15 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 16 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 17 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 18 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 19 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘s’ priority 20 to from-dahdi (0x2aaaac063fd0)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 1 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 2 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 3 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 4 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 5 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 6 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 7 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 8 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 9 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 10 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Added extension ‘zap2dahdi’ priority 11 to macro-dial-one (0x2aaaac071290)
[2012-12-30 11:13:08] VERBOSE[30967] pbx.c: – Including context ‘from-dahdi’ in context ‘from-analog’
[2012-12-30 11:13:08] WARNING[30967] pbx.c: Context ‘from-dahdi’ tries to include nonexistent context ‘from-dahdi-custom’
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: res_timing_dahdi.so => (DAHDI Timing Interface)
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: app_dahdiras.so => (DAHDI ISDN Remote Access Server)
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: app_dahdiscan.so => (Scan DAHDI channels application)
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: app_dahdibarge.so => (Barge in on DAHDI channel application)
[2012-12-30 11:13:09] VERBOSE[30967] codec_dahdi.c: == No hardware transcoders found.
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: codec_dahdi.so => (Generic DAHDI Transcoder Codec Translator)
[2012-12-30 11:13:09] VERBOSE[30967] config.c: == Parsing ‘/etc/asterisk/chan_dahdi.conf’: [2012-12-30 11:13:09] VERBOSE[30967] config.c: == Found
[2012-12-30 11:13:09] VERBOSE[30967] config.c: == Parsing ‘/etc/asterisk/chan_dahdi_general.conf’: [2012-12-30 11:13:09] VERBOSE[30967] config.c: == Found
[2012-12-30 11:13:09] VERBOSE[30967] config.c: == Parsing ‘/etc/asterisk/chan_dahdi_groups.conf’: [2012-12-30 11:13:09] VERBOSE[30967] config.c: == Found
[2012-12-30 11:13:09] VERBOSE[30967] config.c: == Parsing ‘/etc/asterisk/chan_dahdi_additional.conf’: [2012-12-30 11:13:09] VERBOSE[30967] config.c: == Found
[2012-12-30 11:13:09] VERBOSE[30967] config.c: == Parsing ‘/etc/asterisk/dahdi-channels.conf’: [2012-12-30 11:13:09] VERBOSE[30967] config.c: == Found
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Registered channel 4, FXO Kewlstart signalling
[2012-12-30 11:13:09] DEBUG[30967] chan_dahdi.c: Channel ‘4’ configured.
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Registered channel 1, FXS Kewlstart signalling
[2012-12-30 11:13:09] DEBUG[30967] chan_dahdi.c: Channel ‘1’ configured.
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Registered channel 2, FXS Kewlstart signalling
[2012-12-30 11:13:09] DEBUG[30967] chan_dahdi.c: Channel ‘2’ configured.
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Registered channel 3, FXS Kewlstart signalling
[2012-12-30 11:13:09] DEBUG[30967] chan_dahdi.c: Channel ‘3’ configured.
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Registered channel 4, FXO Kewlstart signalling
[2012-12-30 11:13:09] DEBUG[30967] chan_dahdi.c: Channel ‘4’ configured.
[2012-12-30 11:13:09] VERBOSE[30967] chan_dahdi.c: – Automatically generated pseudo channel
[2012-12-30 11:13:09] VERBOSE[30967] loader.c: chan_dahdi.so => (DAHDI Telephony Driver w/PRI & SS7 & MFC/R2)

Ok, you set the busydetect however it is redeclared to no later on in the /etc/asterisk/chan_dahdi_additional.conf file.

I would remove all the includes from /etc/asterisk/chan_dahdi.conf except the dahdi-channels.conf

Once you do this the options you set in chan_dahdi.conf will have effect.

You do not need to restart asterisk, reboot or any other foolishness, simply execute the command ‘dahdi reload’ from the asterisk cli.

That solved this. Thank you very much.