Asterisk And Pulseaudio Console/dsp

Home » Asterisk Users » Asterisk And Pulseaudio Console/dsp
Asterisk Users 2 Comments

Hi All,

I am running pulseaudio on my asterisk server. I setup and extension to connect me with Console/Dsp. I am hearing the audio but its warbly or does not sound right. Any thoughts on what I need to do for that ?

Another thought is I tried to setup the Musiconhold to be custom and the application be a bash script that that plays pulseaudio.
[default]
mode=custom directory=/var/lib/asterisk/moh application=/usr/local/bin/playconsole

and playconsole is:
/usr/bin/parecord –format=s16le

But I hear nothing. The script is executable. With no file for the parecord it should be going to stdout which should go into asterisk. I also just tried /usr/bin/parecord and no –format=s16le

How can I get correct audio from pulseaudio into asterisk ?
Thanks,

Jerry

2 thoughts on - Asterisk And Pulseaudio Console/dsp

  • I had that issue at a previous employer and got around it by using ALSA instead.

    Doug

  • instead.

    Thanks but the other piece I need is forcing me to use pulseaudio. That’s what it connects to.

    Jerry