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!
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 ;
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.
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.
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()
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.