<DIV>asterisk 1.4.23.2 and spandsp 0.0.4 get the same error now....but less times than other version ...</DIV>
<DIV> </DIV>
<DIV>[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 1<BR>[Mar 16 10:12:50] DEBUG[23752]: chan_dahdi.c:4731 __dahdi_exception: Exception on 11, channel 4<BR>[Mar 16 10:12:50] DEBUG[23752]: chan_dahdi.c:3828 dahdi_handle_event: Got event Alarm(4) on channel 4 (index 0)<BR>[Mar 16 10:12:50] NOTICE[23748]: chan_dahdi.c:8704 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1<BR>[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 1: Red Alarm<BR>[Mar 16 10:12:50] DEBUG[23748]: chan_dahdi.c:8715 pri_dchannel: Got event HDLC Abort (6) on D-channel for span 1<BR>[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:1507 dahdi_disable_ec: Unable to disable echo cancellation on channel 1: Invalid argument<BR>[Mar 16 10:12:50] NOTICE[23748]: chan_dahdi.c:8704 pri_dchannel: PRI got event: Alarm (4) on Primary D-channel of span 1<BR>[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 2<BR>[Mar 16 10:12:50] WARNING[23748]: chan_dahdi.c:2486 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!<BR>[Mar 16 10:12:50] DEBUG[23748]: chan_dahdi.c:8715 pri_dchannel: Got event Alarm (4) on D-channel for span 1<BR>[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 2: Red Alarm<BR>[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:1507 dahdi_disable_ec: Unable to disable echo cancellation on channel 2: Invalid argument<BR>[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 3<BR>[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 3: Red Alarm</DIV>
<DIV> </DIV>
<DIV>.......</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>the chan_dahdi.conf :</DIV>
<DIV>[channels]<BR>language=en<BR>context=default</DIV>
<DIV>switchtype=euroisdn<BR>pridialplan=unknown<BR>prilocaldialplan=national<BR>signalling=pri_cpe<BR>usecallerid=yes<BR>hidecallerid=no<BR>callwaiting=yes<BR>callwaitingcallerid=yes<BR>threewaycalling=yes<BR>transfer=yes<BR>cancallforward=yes</DIV>
<DIV>echocancel=yes<BR>echocancelwhenbridged=no<BR>echotraining=no<BR>relaxdtmf=no</DIV>
<DIV>rxgain=0<BR>txgain=0</DIV>
<DIV>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR>callerid=asreceived<BR>callprogress=no<BR>channel => 1-15,17-31<BR></DIV>
<DIV>the /etc/dahdi/system.conf:</DIV>
<DIV>span=1,1,0,ccs,hdb3<BR>bchan=1-15,17-31<BR>dchan=16<BR>echocanceller=mg2,1-15,17-31</DIV>
<DIV>loadzone = cn<BR>defaultzone = cn</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>versions i try ....<BR>asterisk 1.4.23.2 / 1.6.0.6 / 1.6.0.7rc1</DIV>
<DIV>libpri 1.4.9</DIV>
<DIV>spandsp 0.0.4pre15 / 0.0.5pre4 / 0.0.6pre3 / 0.0.6pre6</DIV>
<DIV>dahdi 2.1.0.4+2.1.0.2</DIV>
<DIV> </DIV>
<DIV></DIV><BR>在2009-03-16 09:57:18,MaxGao <ssmax@126.com> 写道:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent">
<DIV>hi,all</DIV>
<DIV>i have just set up asterisk 1.6.0.7 rc1 with spandsp 0.0.5 pre4 to ReceiveFAX, link to a E1 (DE410P) using dahdi</DIV>
<DIV>this can receive the fax from E1 successfully, but i see many error message in the log like this:</DIV>
<DIV><BR>[Mar 16 09:24:38] ERROR[23540] channel.c: ast_read() called with no recorded file descriptor.</DIV>
<DIV> </DIV>
<DIV>when i receive a 5 pages fax, i will see this error message over 200 lines.....</DIV>
<DIV> </DIV>
<DIV>it seems the channel.c try to call ast_read(), read some bytes from the channel but there is nothing ...</DIV>
<DIV>whether it's a loop to check data on the channel ?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>and many times when reciving tax , the E1 card will down , all the channel get red alarm...</DIV>
<DIV> </DIV>
<DIV>[Mar 16 09:49:19] DEBUG[20928] chan_dahdi.c: Monitor doohicky got event Alarm on channel 2<BR>[Mar 16 09:49:19] WARNING[20928] chan_dahdi.c: Detected alarm on channel 2: Recovering</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>i then try asterisk 1.4.23.2 and agx-ast-addon , when using spandsp 0.0.5 and spandsp 0.0.6, like above , sometimes all E1 channel get red alarm when reciving fax....</DIV>
<DIV>but use spandsp 0.0.4 get no error...</DIV>
<DIV> </DIV>
<DIV>some one can tell me what version of asterisk and spandsp is the best version for fax???<BR></DIV>
<DIV>thanks a lot.</DIV><BR><BR><SPAN title="neteasefooter">
<HR>
<A href="http://www.yeah.net/">网易邮箱,中国第一大电子邮件服务商</A> </SPAN></BLOCKQUOTE><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://www.yeah.net">网易邮箱,中国第一大电子邮件服务商</a>
</span>