[asterisk-users] Asterisk 1.6 ReceiveFAX problem

MaxGao ssmax at 126.com
Sun Mar 15 21:25:37 CDT 2009


asterisk 1.4.23.2 and spandsp 0.0.4 get the same error now....but less times than other version ...
 
[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 1
[Mar 16 10:12:50] DEBUG[23752]: chan_dahdi.c:4731 __dahdi_exception: Exception on 11, channel 4
[Mar 16 10:12:50] DEBUG[23752]: chan_dahdi.c:3828 dahdi_handle_event: Got event Alarm(4) on channel 4 (index 0)
[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
[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 1: Red Alarm
[Mar 16 10:12:50] DEBUG[23748]: chan_dahdi.c:8715 pri_dchannel: Got event HDLC Abort (6) on D-channel for span 1
[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:1507 dahdi_disable_ec: Unable to disable echo cancellation on channel 1: Invalid argument
[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
[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 2
[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!
[Mar 16 10:12:50] DEBUG[23748]: chan_dahdi.c:8715 pri_dchannel: Got event Alarm (4) on D-channel for span 1
[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 2: Red Alarm
[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:1507 dahdi_disable_ec: Unable to disable echo cancellation on channel 2: Invalid argument
[Mar 16 10:12:50] DEBUG[23749]: chan_dahdi.c:7115 do_monitor: Monitor doohicky got event Alarm on channel 3
[Mar 16 10:12:50] WARNING[23749]: chan_dahdi.c:3787 handle_alarms: Detected alarm on channel 3: Red Alarm
 
.......
 
 
the chan_dahdi.conf :
[channels]
language=en
context=default
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=national
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
relaxdtmf=no
rxgain=0
txgain=0
group=1
callgroup=1
pickupgroup=1
immediate=no
callerid=asreceived
callprogress=no
channel => 1-15,17-31

the /etc/dahdi/system.conf:
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
loadzone        = cn
defaultzone     = cn
 
 
versions i try ....
asterisk 1.4.23.2 / 1.6.0.6 / 1.6.0.7rc1
libpri 1.4.9
spandsp 0.0.4pre15 / 0.0.5pre4 / 0.0.6pre3 / 0.0.6pre6
dahdi 2.1.0.4+2.1.0.2
 

在2009-03-16 09:57:18,MaxGao <ssmax at 126.com> 写道:

hi,all
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
this can receive the fax from E1 successfully, but i see many error message in the log like this:

[Mar 16 09:24:38] ERROR[23540] channel.c: ast_read() called with no recorded file descriptor.
 
when i receive a 5 pages fax, i will see this error message over 200 lines.....
 
it seems the  channel.c try to call ast_read(), read some bytes from the channel but there is nothing ...
whether it's a loop to check data on the channel ?
 
 
and many times when reciving tax , the E1 card will down , all the channel get red alarm...
 
[Mar 16 09:49:19] DEBUG[20928] chan_dahdi.c: Monitor doohicky got event Alarm on channel 2
[Mar 16 09:49:19] WARNING[20928] chan_dahdi.c: Detected alarm on channel 2: Recovering
 
 
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....
but use spandsp 0.0.4 get no error...
 
some one can tell me what version of asterisk and spandsp is the best version for fax???

thanks a lot.



网易邮箱,中国第一大电子邮件服务商
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090316/22824f12/attachment.htm 


More information about the asterisk-users mailing list