[asterisk-bugs] [JIRA] (ASTERISK-25001) SendFAX error
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Apr 24 12:10:36 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-25001:
-----------------------------------
Description:
SendFAX with res_fax_digium does not work as expected.
Same configuration tested with asterisk 1.8.26.0 and asterisk 1.8.32.3 one the same server with same config files :
{noformat}
[root at centrex-preprod src]# cat /etc/asterisk/res_fax.conf| egrep -v "(^;.*|^$)"
[general]
maxrate=14400
minrate=2400
statusevents=yes
modems=v17,v27,v29
ecm=yes
{noformat}
When sending a fax with asterisk 1.8.26.0 :
{noformat}
[Apr 23 16:03:56] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:03:56") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff") in new stack
[Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' sending FAX:
[Apr 23 16:03:56] -- /var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff
[Apr 23 16:03:56] == Using UDPTL TOS bits 184
[Apr 23 16:03:56] == Using UDPTL CoS mark 5
[Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' FAX session '0' started
[Apr 23 16:04:16] -- FAX handle 0: [ 020.081374 ], entering CLOSING state
[Apr 23 16:04:20] -- Channel 'SIP/1003-00000000' FAX session '0' is complete, result: 'FAILED' (FAX_FAILURE_PARTIAL), error: 'FILE_IO_FAIL', pages: 1, resolution: '204x196', transfer rate: '9600', remoteSID: 'FreeFax 0978111950'
{noformat}
When sending a fax with asterisk 1.8.32.3 :
{noformat}
[Apr 23 16:26:07] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:26:07") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/553900f4b7333-scan11.tiff") in new stack
[Apr 23 16:26:07] ERROR[30340]: res_fax.c:2121 sendfax_exec: 'modems' setting 'V17,V27,V29' is incompatible with 'minrate' setting 2400
[Apr 23 16:26:07] == Spawn extension (fax-envoi, send, 8) exited non-zero on 'SIP/1003-00000000'
{noformat}
Additional info :
{noformat}
centrex-preprod*CLI> fax show settings
FAX For Asterisk Settings:
ECM: Enabled
Status Events: On
Minimum Bit Rate: 4800
Maximum Bit Rate: 14400
Modem Modulations Allowed: V17,V27,V29
FAX Technology Modules:
DIGIUM (Digium FAX Driver) Settings:
Maximum T.38 Packet Delay: 800
T.38 Session Packet Capture: Off
G.711 Session Audio Capture: Off
centrex-preprod*CLI> module show like fax
Module Description Use Count
res_fax.so Generic FAX Applications 1
res_fax_digium.so Digium G.711 and T.38 FAX Technologies ( 0
2 modules loaded
{noformat}
was:
SendFAX with res_fax_digium does not work as expected.
Same configuration tested with asterisk 1.8.26.0 and asterisk 1.8.32.3 one the same server with same config files :
[root at centrex-preprod src]# cat /etc/asterisk/res_fax.conf| egrep -v "(^;.*|^$)"
[general]
maxrate=14400
minrate=2400
statusevents=yes
modems=v17,v27,v29
ecm=yes
When sending a fax with asterisk 1.8.26.0 :
[Apr 23 16:03:56] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:03:56") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
[Apr 23 16:03:56] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff") in new stack
[Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' sending FAX:
[Apr 23 16:03:56] -- /var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff
[Apr 23 16:03:56] == Using UDPTL TOS bits 184
[Apr 23 16:03:56] == Using UDPTL CoS mark 5
[Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' FAX session '0' started
[Apr 23 16:04:16] -- FAX handle 0: [ 020.081374 ], entering CLOSING state
[Apr 23 16:04:20] -- Channel 'SIP/1003-00000000' FAX session '0' is complete, result: 'FAILED' (FAX_FAILURE_PARTIAL), error: 'FILE_IO_FAIL', pages: 1, resolution: '204x196', transfer rate: '9600', remoteSID: 'FreeFax 0978111950'
When sending a fax with asterisk 1.8.32.3 :
[Apr 23 16:26:07] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:26:07") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
[Apr 23 16:26:07] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/553900f4b7333-scan11.tiff") in new stack
[Apr 23 16:26:07] ERROR[30340]: res_fax.c:2121 sendfax_exec: 'modems' setting 'V17,V27,V29' is incompatible with 'minrate' setting 2400
[Apr 23 16:26:07] == Spawn extension (fax-envoi, send, 8) exited non-zero on 'SIP/1003-00000000'
Additional info :
centrex-preprod*CLI> fax show settings
FAX For Asterisk Settings:
ECM: Enabled
Status Events: On
Minimum Bit Rate: 4800
Maximum Bit Rate: 14400
Modem Modulations Allowed: V17,V27,V29
FAX Technology Modules:
DIGIUM (Digium FAX Driver) Settings:
Maximum T.38 Packet Delay: 800
T.38 Session Packet Capture: Off
G.711 Session Audio Capture: Off
centrex-preprod*CLI> module show like fax
Module Description Use Count
res_fax.so Generic FAX Applications 1
res_fax_digium.so Digium G.711 and T.38 FAX Technologies ( 0
2 modules loaded
> SendFAX error
> --------------
>
> Key: ASTERISK-25001
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25001
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_fax
> Affects Versions: 1.8.32.3
> Environment: [root at centrex-preprod src]# cat /etc/redhat-release
> CentOS release 6.5 (Final)
> [root at centrex-preprod src]# uname -r
> 2.6.32-431.17.1.el6.x86_64
> Reporter: Cedric BASSAGET
> Severity: Trivial
>
> SendFAX with res_fax_digium does not work as expected.
> Same configuration tested with asterisk 1.8.26.0 and asterisk 1.8.32.3 one the same server with same config files :
> {noformat}
> [root at centrex-preprod src]# cat /etc/asterisk/res_fax.conf| egrep -v "(^;.*|^$)"
> [general]
> maxrate=14400
> minrate=2400
> statusevents=yes
> modems=v17,v27,v29
> ecm=yes
> {noformat}
> When sending a fax with asterisk 1.8.26.0 :
> {noformat}
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:03:56") in new stack
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
> [Apr 23 16:03:56] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff") in new stack
> [Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' sending FAX:
> [Apr 23 16:03:56] -- /var/www/html/centrex/datas/fax/tiff/5538fbb729a99-scan11.tiff
> [Apr 23 16:03:56] == Using UDPTL TOS bits 184
> [Apr 23 16:03:56] == Using UDPTL CoS mark 5
> [Apr 23 16:03:56] -- Channel 'SIP/1003-00000000' FAX session '0' started
> [Apr 23 16:04:16] -- FAX handle 0: [ 020.081374 ], entering CLOSING state
> [Apr 23 16:04:20] -- Channel 'SIP/1003-00000000' FAX session '0' is complete, result: 'FAILED' (FAX_FAILURE_PARTIAL), error: 'FILE_IO_FAIL', pages: 1, resolution: '204x196', transfer rate: '9600', remoteSID: 'FreeFax 0978111950'
> {noformat}
> When sending a fax with asterisk 1.8.32.3 :
> {noformat}
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:3] Set("SIP/1003-00000000", "FAXOPT(ecm)=yes") in new stack
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:4] Set("SIP/1003-00000000", "FAXOPT(headerinfo)=Fax recu de 0970559970 le 23/04/2015 a 16:26:07") in new stack
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:5] Set("SIP/1003-00000000", "FAXOPT(localstationid)=0970559970") in new stack
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:6] Set("SIP/1003-00000000", "FAXOPT(maxrate)=14400") in new stack
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:7] Set("SIP/1003-00000000", "FAXOPT(minrate)=2400") in new stack
> [Apr 23 16:26:07] -- Executing [send at fax-envoi:8] SendFAX("SIP/1003-00000000", "/var/www/html/centrex/datas/fax/tiff/553900f4b7333-scan11.tiff") in new stack
> [Apr 23 16:26:07] ERROR[30340]: res_fax.c:2121 sendfax_exec: 'modems' setting 'V17,V27,V29' is incompatible with 'minrate' setting 2400
> [Apr 23 16:26:07] == Spawn extension (fax-envoi, send, 8) exited non-zero on 'SIP/1003-00000000'
> {noformat}
> Additional info :
> {noformat}
> centrex-preprod*CLI> fax show settings
> FAX For Asterisk Settings:
> ECM: Enabled
> Status Events: On
> Minimum Bit Rate: 4800
> Maximum Bit Rate: 14400
> Modem Modulations Allowed: V17,V27,V29
> FAX Technology Modules:
> DIGIUM (Digium FAX Driver) Settings:
> Maximum T.38 Packet Delay: 800
> T.38 Session Packet Capture: Off
> G.711 Session Audio Capture: Off
> centrex-preprod*CLI> module show like fax
> Module Description Use Count
> res_fax.so Generic FAX Applications 1
> res_fax_digium.so Digium G.711 and T.38 FAX Technologies ( 0
> 2 modules loaded
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list