[Home]

Summary:ASTERISK-15032: hylafax(+iaxmodem)+ReceiveFAX leads to "Audio loop reports T38 switchover but t38state != T38_STATE_NEGOTIATED"
Reporter:Niccolò Belli (darkbasic)Labels:
Date Opened:2009-10-25 13:16:27Date Closed:2009-10-26 11:00:54
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_fax
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) full
Description:I send the fax with "sendfax -n -d <exten> /root/fax/prova.tif".

iax.conf:
[general]
requirecalltoken=no
authdebug=yes
bindport=4569
bindaddr = 0.0.0.0
disallow=all
allow=ulaw
allow=alaw
autokill=yes

[iaxmodem]
type=friend
context=fax
disallow=all
allow=alaw
username=iaxmodem
secret=password
qualify=yes
notransfer=yes
host=dynamic
callerid="Fax" <mynumber>
requirecalltoken=no

dialplan:
[fax]
exten => _X.,1,ReceiveFAX(/var/spool/asterisk/fax/prova_${EXTEN}.tif)

I attached full => notice,warning,error,debug,verbose with 'core set verbose 10, 'core set debug 10', 'sip set debug on', and 'sip set history on'.
Comments:By: Kevin P. Fleming (kpfleming) 2009-10-26 10:43:51

This is a code error in the 1.6.0, 1.6.1 and 1.6.2 branches... will fix shortly.

By: Digium Subversion (svnbot) 2009-10-26 10:51:14

Repository: asterisk
Revision: 225869

U   branches/1.6.0/apps/app_fax.c

------------------------------------------------------------------------
r225869 | kpfleming | 2009-10-26 10:51:13 -0500 (Mon, 26 Oct 2009) | 8 lines

Backport audio handling loop fixes from trunk version of app_fax.

This backport resolves some issues handling audio frames during FAX processing,
and ensures that the FAX application doesn't accidentally get notified of a T.38
switchover at the end of a successful FAX.

(issue ASTERISK-15032)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=225869

By: Digium Subversion (svnbot) 2009-10-26 10:55:56

Repository: asterisk
Revision: 225870

U   branches/1.6.1/apps/app_fax.c

------------------------------------------------------------------------
r225870 | kpfleming | 2009-10-26 10:55:56 -0500 (Mon, 26 Oct 2009) | 8 lines

Backport audio handling loop fixes from trunk version of app_fax.

This backport resolves some issues handling audio frames during FAX processing,
and ensures that the FAX application doesn't accidentally get notified of a T.38
switchover at the end of a successful FAX.

(issue ASTERISK-15032)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=225870

By: Digium Subversion (svnbot) 2009-10-26 11:00:53

Repository: asterisk
Revision: 225871

U   branches/1.6.2/apps/app_fax.c

------------------------------------------------------------------------
r225871 | kpfleming | 2009-10-26 11:00:53 -0500 (Mon, 26 Oct 2009) | 8 lines

Backport audio handling loop fixes from trunk version of app_fax.

This backport resolves some issues handling audio frames during FAX processing,
and ensures that the FAX application doesn't accidentally get notified of a T.38
switchover at the end of a successful FAX.

(closes issue ASTERISK-15032)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=225871