I have encounter this problem when starting asterisk,
it will show the error message and couldn’t start :
[color=red]Ouch … error while writing audio data: : Broken pipe[/color]
I have search this forum and find some answer to the questions,
they say that you should delete the include files and the asterisk
modules under /usr/include/asterisk and /usr/lib/asterisk/modules
and do the make clean; make; make install again,
unfortunately, it didn’t work for me.
therefore, I try some other way by not to load the cdr_odbc.so
when starting asterisk, the reason why I choose this module is
it is the last module loaded when the error occure.
[cdr_odbc.so] => (ODBC CDR Backend)
== Parsing ‘/etc/asterisk/cdr_odbc.conf’: Found
– cdr_odbc: dsn is MySQL-cdr
– cdr_odbc: retreiving username and password from odbc config
– cdr_odbc: table is cdr
Ouch … error while writing audio data: : Broken pipe
Guess what? it works, but it is not what I want, I need the cdr to work.
so I switch to cdr_addon_mysql.so, and it crashed with the same problem.
can anyone help out?
thanks in advance