Problems getting chan_alsa to run

Hi!
I am interisted to dial out from the console with chan_alsa. Can
somebody of you help me according this problem?!

I added user the asterisk to “pulse” and “pulse-access”, and it didn’t
change anything. alsa applications are routed by default to pulse.

cat /etc/asound.conf
pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}

What might be the problem?! Here is the ouptut:

office*CLI> module load chan_alsa.so
Unable to load module chan_alsa.so
Command 'module load chan_alsa.so ’ failed.
== Parsing ‘/etc/asterisk/alsa.conf’: == Found
[Oct 20 21:54:16] ERROR[17849]: chan_alsa.c:180 alsa_card_init:
snd_pcm_open failed: Connection refused
[Oct 20 21:54:16] ERROR[17849]: chan_alsa.c:276 soundcard_init: Problem
opening alsa capture device
== No sound card detected – console channel will be unavailable
== Turn off ALSA support by adding ‘noload=chan_alsa.so’ in
/etc/asterisk/modules.conf

For any support I would thank you.

Tamer

check the device status, make sure it is active.