Auto answer Asterisk ; Unable to create channel of type

Home » Asterisk Users » Auto answer Asterisk ; Unable to create channel of type
Asterisk Users No Comments

While trying to get s extensions to autoanswer to Centos computer speakers, the computer is a Dell Optiplex 170L embeded sound card. I’m running Centos 6.2 i386 with Asterisk 1.8.10.

Edit /etc/asterisk/modules.conf
load => chan_alsa.so
noload => chan_oss.so
load => chan_console.so

Edit /etc/asterisk/extensions.conf
exten => s,1,Dial(Console/snd/controlC0,20,A(trek))
exten => s,2,Hangup

It worked perfect; one little issue that I have not fix is that I have to use this command

#pulseaudio -vvvvvvvv
Restart asterisk and it worked but if pulseaudio is not on asterisk won’t work, I’m in the process of fixing this issue.

Thanks,