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