Unable to make outgoing calls

Unable to make outgoing calls. Incoming calls were answered until I removed that from the dialplan - since this installation is ultimately supposed to be Vicidial outgoing calls, that’s no good.

Here’s the error:

[Apr 11 14:13:30] WARNING[4576]: res_agi.c:1411 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused -- Executing [3145551212@default:2] Dial("SIP/station51-00000000", "DAHDI/g2/w3145551212,,tTo") in new stack [Apr 11 14:13:30] WARNING[4576]: app_dial.c:2039 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/station51-00000000' status is 'CHANUNAVAIL'

[root@asterisk asterisk]# lspci
<snip>
04:08.0 Ethernet controller: Digium, Inc. Wildcard AEX2400 24-port analog card (PCI-Express) (rev 11)

*CLI> dahdi show channels Chan Extension Context Language MOH Interpret Blocked State pseudo default default In Service 1 from-pstn default In Service 2 from-pstn default In Service 3 from-pstn default In Service 4 from-pstn default In Service 5 from-pstn default In Service 6 from-pstn default In Service 7 from-pstn default In Service 8 from-pstn default In Service 9 from-pstn default In Service 10 from-pstn default In Service 11 from-pstn default In Service 12 from-pstn default In Service *CLI> dahdi show channel 1 Channel: 1 File Descriptor: 13 Span: 1 Extension: Dialing: no Context: from-pstn Caller ID: Calling TON: 0 Caller ID name: Mailbox: none 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 Busy Detection: no TDD: no Relax DTMF: no Dialing/CallwaitCAS: 0/0 Default law: ulaw Fax Handled: no Pulse phone: no Gains (RX/TX): 0.00/0.00 Dynamic Range Compression (RX/TX): 0.00/0.00 DND: no Echo Cancellation: 128 taps currently OFF Wait for dialtone: 0ms Actual Confinfo: Num/0, Mode/0x0000 Actual Confmute: No Hookstate (FXS only): Onhook *CLI>

Your channels are in the Group 2 in your chan_dahdi.conf?

If Yes try change the line DAHDI/g2/ for DAHDI/r2/ or define the correct group.

Group 0, actually. I will plead guilty of working with insufficient sleep. I changed it to g0, and all is well. Thank you so much for your help!