<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">I know for a fact that the f/F option was added in January of 2011 by Kevin. To 1.8 as a patch only. I was the one that requested it be done. They told us that they would not include it as part of 1.8.x because it was a new feature. It is in the 10 trunk and seems to work great there. We are running the patch on the 1.8.x release but those servers a few point releases behind as we have not been able to maintain the patch on the current 1.8.x releases. If the f/F option is in the current 1.8.x release it is there against what Kevin told us. I will check the source later today and report back. <br />
<br />
Here is part of the message from Kevin <br />
<br />
On 01/31/2011 05:06 PM, Bryant Zimmerman wrote:<br />
<br />
> I just replaced the res_fax.c file with the one from 304599. Would I<br />
> just keep doing that as I step forward on versions of 1.8.x?<br />
> If this is the case how would I get any other critical changes to<br />
> res_fax.c that may occur after rev 304599?<br />
> How would I create a patch that would allow me to apply it to additional<br />
> release version of asterisk.<br />
> Sorry for the simple questions I do most of my dev on windows machines<br />
> and this process is a still a bit confusing to me.<br />
<br />
It's very possible that future versions of res_fax.c from trunk will not <br />
be compatible with Asterisk 1.8.x, so you can't keep doing that forever. <br />
However, as long as the version of res_fax.c *compiles* when you drop it <br />
into the Asterisk 1.8 tree, it should work.<br />
<br />
Critical changes to res_fax.c (meaning bug fixes or security <br />
vulnerability fixes) *will* be made in the 1.8 branch; it's only new <br />
features that won't be added there.<br />
<br />
<br />
<div id="divSignature">Thanks<br />
<br />
Bryant Zimmerman (ZK Tech Inc.)<br />
616-855-1030 Ext. 2003</div>
<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr align="center" size="2" width="100%" />
<b>From</b>: "Administrator TOOTAI" <admin@tootai.net><br />
<b>Sent</b>: Saturday, October 08, 2011 6:24 PM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: Re: [asterisk-users] Asterisk 1.8.7 and ReceiveFAX</span><br />
<br />
Le 08/10/2011 23:48, Bryant Zimmerman a écrit :<br />
> The f/F option for ReceiveFAX is not in the 1.8.x builds. It was a <br />
> patch for 1.8.x but it is in the 10 builds<br />
<br />
Well, I tried and it is working in 1.8.7 version, so command 'core show <br />
application ReceiveFAX' doesn't reflect the real application options, <br />
only shows c option which is not present in the link sended by Larry. <br />
Well ...<br />
<br />
FYI, I got this error<br />
<br />
-- Channel 'SIP/tootaiAUDIO-000000ee' receiving FAX <br />
'/tmp/1318111488.262.tiff'<br />
[Oct 9 00:04:53] WARNING[9039]: res_fax.c:1508 receivefax_t38_init: <br />
channel 'SIP/tootaiAUDIO-000000ee' refused to negotiate T.38<br />
[Oct 9 00:05:05] WARNING[9039]: res_fax_spandsp.c:368 spandsp_log: <br />
WARNING T.30 ECM carrier not found<br />
-- Auto fallthrough, channel 'SIP/tootaiAUDIO-000000ee' status is <br />
'UNKNOWN'<br />
-- Executing [h@from-TOOTAiAudio:1] <br />
NoOp("SIP/tootaiAUDIO-000000ee", "Hangup Cause: 16") in new stack<br />
-- Executing [h@from-TOOTAiAudio:2] <br />
NoOp("SIP/tootaiAUDIO-000000ee", "Dial status : ") in new stack<br />
<br />
but the fax was received.<br />
<br />
Thanks Larry for the tip.<br />
<br />
><br />
> *From*: "Larry Moore" <lmoore@starwon.com.au><br />
> *Sent*: Saturday, October 08, 2011 5:32 PM<br />
> *To*: "Asterisk Users Mailing List - Non-Commercial Discussion" <br />
> <asterisk-users@lists.digium.com><br />
> *Subject*: Re: [asterisk-users] Asterisk 1.8.7 and ReceiveFAX<br />
><br />
> On 9/10/2011 1:29 AM, Administrator TOOTAI wrote:<br />
> > Le 07/10/2011 16:32, Kristijan Vrban a écrit :<br />
> >> remove the "c" argument<br />
> ><br />
> > Done but now I have<br />
> ><br />
> > [Oct 8 19:20:20] WARNING[8771]: res_fax.c:1508 receivefax_t38_init:<br />
> > channel 'SIP/tootaiAUDIO-000000ea' refused to negotiate T.38<br />
> > [Oct 8 19:20:20] WARNING[8771]: res_fax.c:1529 receivefax_t38_init:<br />
> > Audio FAX not allowed on channel 'SIP/tootaiAUDIO-000000ea' and T.38<br />
> > negotiation failed; aborting.<br />
> > [Oct 8 19:20:20] ERROR[8771]: res_fax.c:1734 receivefax_exec: error<br />
> > initializing channel 'SIP/tootaiAUDIO-000000ea' in T.38 mode<br />
> ><br />
> > How can I allow Audio FAX?<br />
> ><br />
> > I saw a discussion on asterisk-devel from january 2010 about new<br />
> > spandsp where Kevin P. Fleming told you to do an "core show<br />
> > application ReceiveFAX" to find out how to enable this feature. I'm<br />
> > perhaps a little bit stupid but can't find any usable information<br />
> > while using this command :-(<br />
> ><br />
><br />
> The Fallback option to T.30 is 'f'.<br />
><br />
> ReceiveFAX(filename,f)<br />
><br />
> See<br />
> https://wiki.asterisk.org/wiki/display/AST/Application_ReceiveFAX+%28res_fax%29<br />
<br />
-- <br />
Daniel<br />
<br />
--<br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br /></span>