I am new to asterisk so try to bear with me. I have a Digium TDM400P REV I Board 5, and I am using asterisk 1.6 + Asterisk Gui 2.0 + DAHDI Version: 2.1.0.4 Echo Canceller.
I have 2 FXS and 2 FXO, so I have to analog phone devices and two analog phone lines.
Right now I can receive incoming phone calls, but cannot dial outgoing:
The dial plan in the extensions.conf for the 2 trunks is:
[CallingRule_Local]
exten = _9XXXXXXX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:1},${trunk_2}/${EXTEN:1},trunk_1,trunk_2)
Son When Trunk_1 fails it should failover to Trunk_2.
The CLI output says:
[i]TSVoIP*CLI>
[May 4 14:06:05] WARNING[5675]: chan_dahdi.c:2027 dahdi_enable_ec: Unable to enable echo cancellation on channel 2 (No such device)
– Executing [92638947@DLPN_Local:1] Macro(“DAHDI/2-1”, “trunkdial-failover-0.3,DAHDI/trunk_1/2638947,DAHDI/trunk_2/2638947,trunk_1,trunk_2”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:1] GotoIf(“DAHDI/2-1”, “0?1-fmsetcid,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:2] GotoIf(“DAHDI/2-1”, “0?1-setgbobname,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:3] Set(“DAHDI/2-1”, “CALLERID(num)=6102”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:4] GotoIf(“DAHDI/2-1”, “0?1-dial,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:5] Set(“DAHDI/2-1”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:6] Goto(“DAHDI/2-1”, “1-dial,1”) in new stack
– Goto (macro-trunkdial-failover-0.3,1-dial,1)
– Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial(“DAHDI/2-1”, “DAHDI/trunk_1/2638947”) in new stack
[May 4 14:06:05] WARNING[5675]: chan_dahdi.c:9532 dahdi_request: Unable to determine channel for data trunk_1/2638947
[May 4 14:06:05] WARNING[5675]: app_dial.c:1518 dial_exec_full: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf(“DAHDI/2-1”, “21 > 0 ?1-CHANUNAVAIL,1:1-out,1”) in new stack
– Goto (macro-trunkdial-failover-0.3,1-CHANUNAVAIL,1)
– Executing [1-CHANUNAVAIL@macro-trunkdial-failover-0.3:1] Dial(“DAHDI/2-1”, “DAHDI/trunk_2/2638947”) in new stack
[May 4 14:06:05] WARNING[5675]: chan_dahdi.c:9532 dahdi_request: Unable to determine channel for data trunk_2/2638947
[May 4 14:06:05] WARNING[5675]: app_dial.c:1518 dial_exec_full: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1-CHANUNAVAIL@macro-trunkdial-failover-0.3:2] Hangup(“DAHDI/2-1”, “”) in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-CHANUNAVAIL, 2) exited non-zero on ‘DAHDI/2-1’ in macro ‘trunkdial-failover-0.3’
== Spawn extension (DLPN_Local, 92638947, 1) exited non-zero on ‘DAHDI/2-1’
– Hungup ‘DAHDI/2-1’
Do you have any ideas, why it is no dialing out? I use to have AsteriskNow 1.0.2, and it worked fine.
I really appreciate you help.
Regards,
Carlos V.