I'm trying to add an analog trunk using a TDM410P card but I'm getting an error when doing manual dial from a softphone. My purpose would be to also dial from Vici but I need to solve manual dialing first.
The error:
[Jun 30 10:35:19] -- Executing [983491188@default:1] AGI("SIP/cc110-0000002e", "agi://127.0.0.1:4577/call_log") in new stack
[Jun 30 10:35:19] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jun 30 10:35:19] -- Executing [983491188@default:2] Dial("SIP/cc110-0000002e", "DAHDI/g1/83491188||To") in new stack
[Jun 30 10:35:19] WARNING[6994]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
[Jun 30 10:35:19] == Everyone is busy/congested at this time (1:0/0/1)
[Jun 30 10:35:19] -- Executing [983491188@default:3] Hangup("SIP/cc110-0000002e", "") in new stack
[Jun 30 10:35:19] == Spawn extension (default, 983491188, 3) exited non-zero on 'SIP/cc110-0000002e'
[Jun 30 10:35:19] -- Executing [h@default:1] DeadAGI("SIP/cc110-0000002e", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL----------") in new stack
[Jun 30 10:35:19] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
My configuration
Dahdi hardware
vicibox:~ # dahdi_hardware
pci:0000:02:01.0 wctdm24xxp+ d161:8005 Wildcard TDM410P
/etc/dahdi/system.conf (by the way, I noticed that the port numbers are shifted starting from 4)
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 29 17:52:31 2011
# 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/0 "Wildcard TDM410P Board 1" (MASTER)
fxsks=4
echocanceller=mg2,4
fxoks=5
echocanceller=mg2,5
fxoks=6
echocanceller=mg2,6
fxoks=7
echocanceller=mg2,7
# Global data
loadzone = us
defaultzone = us
CLI>dahdi show channels
vicibox*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
pseudo default default
4 from-pstn es default
5 from-internal es default
6 from-internal es default
7 from-internal es default
CLI>dahdi show channel 4
vicibox*CLI> dahdi show channel 4
Channel: 4
File Descriptor: 11
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 1
Signalling Type: FXS Kewlstart
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
chan_dahdi.conf (do you need me to include the other parameters?)
;FXS Module
group = 1
context = default
signalling = fxs_ks
callerid=asreceived
channel = 4
;FXO Modules
group = 2
signalling = fxo_ks
context = Internal
channel = 5-7
Extensions.conf
[globals]
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/r1 ; Trunk interface
TRUNK=DAHDI/g1
[default]
include => vicidial-auto
; Local calls through Telmex
exten => _9ZXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9ZXXNXXXX,2,Dial(${TRUNK}/${EXTEN:-8},,To)
exten => _9ZXXNXXXX,3,Hangup
Also, when module reload at CLI I get this message, is it normal?
vicibox*CLI> module reload chan_dahdi.so
[Jun 30 11:21:14] -- Reloading module 'chan_dahdi.so' (DAHDI Telephony w/PRI)
[Jun 30 11:21:14] == Parsing '/etc/asterisk/chan_dahdi.conf': [Jun 30 11:21:14] Found
[Jun 30 11:21:14] == Parsing '/etc/asterisk/dahdi-channels.conf': [Jun 30 11:21:14] Found
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'switchtype' (on reload)
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'rxwink' (on reload)
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 4, FXS Kewlstart signalling
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 5, FXO Kewlstart signalling
[Jun 30 11:21:14] -- Reconfigured channel 6, FXO Kewlstart signalling
[Jun 30 11:21:14] -- Reconfigured channel 7, FXO Kewlstart signalling
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 4, FXS Kewlstart signalling
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 5, FXO Kewlstart signalling
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 6, FXO Kewlstart signalling
[Jun 30 11:21:14] WARNING[12475]: chan_dahdi.c:14007 process_dahdi: Ignoring any changes to 'signalling' (on reload)
[Jun 30 11:21:14] -- Reconfigured channel 7, FXO Kewlstart signalling
[Jun 30 11:21:14] == Parsing '/etc/asterisk/users.conf': [Jun 30 11:21:14] Found
Please let me know if you need me to show additional information
Rgds