keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Unable to create channel of type dahdi

14 years 1 month ago #4901 by H.sadat
Hi all,I'm using A400P with one FXO module. I have done everything according to manualbut when I try to place a outgoing call, I have this warning:

Warning[3592]:app_dial.c:1547 dial_exec_full: unable to create channel of type 'dahdi' (cause0 unknown)

asterisk version:1.6.1.17

I have run these commands
code]modprobedahdi

modprobe wctdm
dahdi_cfg -vvvvvvv

dahdi tool version - 2.2.1

DAHDIversion 2.2.1

Echo Canceller(s): MG2 Configuration
================

Channelmap: Channel 01: FXS Kewlstart (default) (Echo canceler: mg2) (Slaves: 01)


1channel to configure.
Setting Echo canceler for Channel 1 to mg2[/code]

althoughloading drivers is successful, when using Dahdi show channels, I see no result:( I don't know what to do....

thanks for your help


H.Sadat
14 years 1 month ago #4902 by Joe.Yung
Hello,
Have you added the line"#include dahdi-channels.conf" at the end of chan_dahdi.conf?
Furthermore, remember to execute the command"module load chan_dahdi.so" on the asterisk CLI.
Please have a try in this method, let me know for any question from you!

14 years 1 month ago #4905 by H.sadat
Dear Joe.Yung
thanks for your answer but still it doesn't work and I'm so confused that I can't even ask questions.
these are my configues:

system.conf:
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Mar 8 03:14:17 2010
# 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: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxsks=1
echocanceller=mg2,1
# channel 2, WCTDM/4/1, no module.
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.

# Global data

loadzone = us
defaultzone = us


dahdi-channels.conf:
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Mar 8 03:14:17 2010
; 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: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default



chan_dahdi.conf:

[trunkgroups]

[channels]
context=from-pstn
signalling=fxs-ks
usecallerid=yes
hidecallerid=no
callwaiting=yes
threewaycallimg=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickgroup=1

immediate=no

#include dahdi_additional.conf
#include dahdi-channels.conf


I included the dahdi-channels.conf in the file and I run the command that you said but it gave me a warning that this module is already loaded...

can you help me again? thanks.

14 years 1 month ago #4906 by Joe.Yung
Hello,
Please send your server SSH account to me!
Let me check it for more details!

14 years 1 month ago #4907 by H.sadat
dear Joe,
I can't...... :( it's a pilot project, and our administrator won't let me to do it... sorry for all the trouble but if you tell me what should I check, I will run the commands and tell you the result...
again thank you for your support.
14 years 1 month ago #4908 by Joe.Yung
Hello,
Enable the debug parameter in /etc/asterisk/logger.conf. And regenerate channels again by:
1.modprobe dahdi
2.modprobe wctdm
3.dahdi_genconf
4.dahdi_cfg -vvvv
Add the line"#include dahdi-channels.conf" at the end of chan_dahdi.conf.Start asterisk and have a look what is information being shown when you execute "dahdi show channels"

For the dialplan, please replace the existing with this to test:
[from-internal]
exten=>_X.,1,Dial(DAHDI/1/${EXTEN})
exten=>_X.,2,Hangup()

[from-pstn]
exten=>s,1,Answer()
exten=>s,n,Dial(SIP/100)
exten=>s,n,Hangup()

register one extension in sip.conf. Add these lines at the end of the /etc/asterisk/sip.conf
[100]
type=friend
username=100
secret=100
host=dynamic
context=from-internal
With this dialplan, make some test calls!
Please let me know of any question if you experience.

Time to create page: 0.042 seconds
Powered by Kunena Forum