[asterisk-bugs] [JIRA] (ASTERISK-25001) SendFAX error

Cedric BASSAGET (JIRA) noreply at issues.asterisk.org
Thu Apr 23 09:35:32 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225974#comment-225974 ] 

Cedric BASSAGET edited comment on ASTERISK-25001 at 4/23/15 9:35 AM:
---------------------------------------------------------------------

I just found that if I remove 
exten => send,n,Set(FAXOPT(maxrate)=14400)
exten => send,n,Set(FAXOPT(minrate)=2400)

I don't get the error.
My bad... but can it be considered like a regression ?


was (Author: rico29):
I just found that if I remove 
exten => send,n,Set(FAXOPT(maxrate)=14400)
exten => send,n,Set(FAXOPT(minrate)=2400)

I don't get the error.
My bad...

> 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 :
> [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



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list