tdm400p + asterisk 1.6.1.0 = outbound call error

Hi,

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

chan_dahdi.conf

[code][trunkgroups]

[channels]
language=fr
; Span 1: WCTDM/4 “Wildcard TDM400P REV I Board 5” (MASTER)
;;; line="3 WCTDM/4/2 FXSKS (EC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=incoming-1
channel => 3

;;; line="4 WCTDM/4/3 FXSKS (In use) (EC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=incoming-2
channel => 4
[/code]

extensions .conf

[code][general]
static = yes
writeprotect = no
clearglobalvars = yes

[globals]
Gateway = “DAHDI/3-1”

[incoming-1]
exten => s,1,Answer()
exten => s,n,dial(SIP/721)
exten => s,n,hangup()

[incoming-2]
exten => s,1,Answer()
exten => s,n,dial(SIP/714)
exten => s,n,hangup()

[POSTE]
include => from-internal
include => to-external

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

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

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

[code]Asterisk 1.6.1.0, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
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 1.6.1.0 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?

Thanks

May be a similar problem as mine ?

forums.digium.com/viewtopic.php?t=68644

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

Hi,

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

Hi,

Needs some HEL, PLEASE

here DMESG result

dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.1.0.4 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 1.6.0.5 or greater I cannot call out unless I call in first. With version 1.6.1.1 nothing works.

It may be related to issues.asterisk.org/view.php?id=14761 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).

Regards,

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.

Regards,

Mike v