I upgraded to Asterisk-1.6.0.1 and DAHDI-2.0.0. Outgoing calls via DAHDI trunk fails with the following error.
[ul]-- Executing [9123456789@numberplan-custom-1:1] Macro(“SIP/160-002113d0”, “trunkdial,DAHDI
/g1/123456789”) in new stack
– Executing [s@macro-trunkdial:1] Set(“SIP/160-002113d0”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial:2] Dial(“SIP/160-002113d0”, “DAHDI/g1/123456789,wW”) in n
ew stack
WARNING[1765]: app_dial.c:1450 dial_exec_full: Unable to create channel of type ‘DAHDI’ (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)[/ul]
Asterisk is able to recognize the DAHDI channels properly.[ul]CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 default default In Service
2 default default In Service
[/ul]
Same problem, which seems to have started after upgrading to dahdi 2.1.0.3 - I can clear the problem by physically unplugging and reconnecting the telephone line.
-- Executing [17005554141@phones:1] Dial("SIP/61-09adb688", "DAHDI/1/17005554141,60,r") in new stack
[Dec 28 08:18:04] WARNING[3803]: app_dial.c:1502 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 [17005554141@phones:2] Hangup(“SIP/61-09adb688”, “”) in new stack
== Spawn extension (phones, 17005554141, 2) exited non-zero on ‘SIP/61-09adb688’
pbxCLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
pbxCLI> dahdi show channel 1
Channel: 1
File Descriptor: 10
Span: 1>
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Radio: 0
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no>
Busy Detection: yes
Busy Count: 5
Busy Pattern: 0,0
TDD: no>
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
DND: no>
Echo Cancellation:
pbxCLI>128 taps
pbxCLI>(unless TDM bridged) currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
I don’t wish to hijack the thread, so if you think I have a different problem I’ll start another one. I didn’t have this problem with dahdi linux/tools 2.0.0.