[asterisk-users] Problem with ReceiveFax
Ishfaq Malik
ish at pack-net.co.uk
Fri Mar 2 10:21:50 CST 2012
On Sat, 2012-03-03 at 00:11 +0800, Larry Moore wrote:
> On 2/03/2012 11:48 PM, Administrator TOOTAI wrote:
> > Le 02/03/2012 16:32, Ishfaq Malik a écrit :
> >> I'm trying to get an inbound fax written to a tiff file but I'm having
> >> major problems. Using asterisk 1.8.7.0 on CentOS 5.6
> > [...]
> >> [2012-03-02 15:11:33] WARNING[4628]: res_fax.c:1508
> >> receivefax_t38_init: channel 'SIP/588-00000007' refused to negotiate
> >> T.38
> >> [2012-03-02 15:11:33] WARNING[4628]: res_fax.c:1529
> >> receivefax_t38_init: Audio FAX not allowed on channel
> >> 'SIP/588-00000007' and T.38 negotiation failed; aborting.
> >> [2012-03-02 15:11:33] ERROR[4628]: res_fax.c:1734 receivefax_exec:
> >> error initializing channel 'SIP/588-00000007' in T.38 mode
> >
> > The fax machine connected to SIP/588 doesn't accept T38
> >
>
> Hence you could enable the fallback (f) option to use G711;
>
> ReceiveFAX(${FAXFILE},f)
>
Hi
Can't test till Monday morning now but will post results once I can.
However, the f option doesn't sho in core show application for that
version:
'core show application ReceiveFAX'
[sudo] password for ish:
-= Info about application 'ReceiveFAX' =-
[Synopsis]
Receive a Fax
[Description]
Receives a FAX from the channel into the given filename overwriting the file
if it already exists.
File created will be in TIFF format.
This application sets the following channel variables:
${LOCALSTATIONID}: To identify itself to the remote end
${LOCALHEADERINFO}: To generate a header line on each page
${FAXSTATUS}:
SUCCESS
FAILED
${FAXERROR}: Cause of failure
${REMOTESTATIONID}: The CSID of the remote side
${FAXPAGES}: Number of pages sent
${FAXBITRATE}: Transmission rate
${FAXRESOLUTION}: Resolution of sent fax
[Syntax]
ReceiveFAX(filename[,c])
[Arguments]
filename
Filename of TIFF file save incoming fax
c
Makes the application behave as the calling machine
(Default behavior is as answering machine)
[See Also]
Not available
Otherwise I would have tried it!
Thanks
Ish
--
Ishfaq Malik
Software Developer
PackNet Ltd
Office: 0161 660 3062
More information about the asterisk-users
mailing list