tdm400p + asterisk = outbound call error


After a reboot of teh asterisk-server, we can’t make outbound call as long as we receive an inbound call.



; Span 1: WCTDM/4 “Wildcard TDM400P REV I Board 5” (MASTER)
;;; line="3 WCTDM/4/2 FXSKS (EC: MG2)"
channel => 3

;;; line="4 WCTDM/4/3 FXSKS (In use) (EC: MG2)"
channel => 4

extensions .conf

static = yes
writeprotect = no
clearglobalvars = yes

Gateway = “DAHDI/3-1”

exten => s,1,Answer()
exten => s,n,dial(SIP/721)
exten => s,n,hangup()

exten => s,1,Answer()
exten => s,n,dial(SIP/714)
exten => s,n,hangup()

include => from-internal
include => to-external

exten => 7XX,1,Ansner()
exten => 7XX,2,Dial(SIP/${EXTEN})
exten => 7XX,3,Hangup()

exten => _00[123456]XXXXXXXX,1,Dial(${Gateway}/${EXTEN:1})

When we make a outgoing call, on the CLI we have this message:

[code]Asterisk, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk currently running on srvtwister (pid = 3161)
Verbosity is at least 1

[May 18 11:55:02] WARNING[3638]: app_dial.c:1518 dial_exec_full: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)[/code]

Now, we receive an incoming call then we can make a outgoing call

Any idea?


May be a similar problem as mine ?

Try to introduce a small delay after dahdi-start / before asterisk-start.
Solved my problem, which was similar to yours.


Tthanks for your response.

DAHDI starts with init.d script.

lsmod|grep wct

wctc4xxp 49312 0 dahdi_transcode 12168 1 wctc4xxp wctdm 39884 2 wctdm24xxp 116196 0 wcte11xp 27168 0 wct1xxp 17568 0 wcte12xp 66788 0 wct4xxp 299520 0 dahdi 190728 15 dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp

I start my asterisk manually.

If i receive an incoming call then i can make a outgoing call.

I don’t understand where is the problem


Needs some HEL, PLEASE

here DMESG result

dahdi: Telephony Interface Registered on major 196 dahdi: Version: Module 0: Not installed Module 1: Not installed Module 2: Installed -- AUTO FXO (FRANCE mode) Module 3: Installed -- AUTO FXO (FRANCE mode) Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules) dahdi_echocan_mg2: Registered echo canceler 'MG2' dahdi: Registered tone zone 2 (France)

Where is my BUG???

It looks as if this bug is being ignored. I am assuming that it is a bug due to a lack of any information to the contrary. I have the same issue on Asterisk 1.4.25 & 1.6.x

It really is frustrating :cry:

I have the same issue with a Sangoma B600de card. With versions or greater I cannot call out unless I call in first. With version nothing works.

It may be related to but I am not sure. This issue has a patch that I have yet to test.

I will try again but also turn DTMF detection on my Sangoma (it creates beeps in calls anyway and works better off).


plouf56, have you had any success in fixing/working around this problem?

I turned off DTMF on the card in wanpip1.conf (TDMV_HW_DTMF = NO) and all is well. It cured the odd beeps I got in the middle of calls too. I guess there is an issue when both Asterisk and the card are trying to simultaneously manage DTMF — which makes.


Mike v