Asterisk 1.2.0 start up problem


#1

Hi:

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

arthur


#2

They have just released Asterisk 1.2.1 yesterday to fix a few bugs. Try update it and see if you still get it.


#3

is zaptel correctly installed? i remember seeing an error like that once when zaptel was broken… make sure when you do lsmod you see both zaptel and at least one type driver (ie wcfxo wctdm ztdummy etc)