I am testing out inbound faxing using res_fax and res_fax_spandsp.so My system answers the call but then sets there on the ReseiveFax line then comes back with an error that it exceeded the maximum retries. How would I go about debugging this? Below is my very simple dialplan code I am using, and the fax show version gives the following as well. FAX For Asterisk Components: Applications: SVN-branch-1.8-r297535M Spandsp FAX Driver: 20110122 075024 [fax_inbound] exten => ProcessFax,1,Answer() exten => ProcessFax,n,Wait(2) exten => ProcessFax,n,Set(TIFF=/var/spool/fax_in/fax_${STRFTIME(,,%Y%m%d-%H%M)}_${RAN D(1)}.tiff) exten => ProcessFax,n,ReceiveFAX(${TIFF},d) exten => ProcessFax,n,NoOp(Error = ${FAXOPT(error)}) exten => ProcessFax,n,NoOp(Status = ${FAXOPT(status)}) exten => ProcessFax,n,NoOp(Header = ${FAXOPT(headerinfo)}) exten => ProcessFax,n,NoOp(RemoteID = ${FAXOPT(remotestationid)}) exten => ProcessFax,n,NoOp(Result = ${FAXOPT(statusstr)}) I can't figure out how to turn on any debuging for this nor can I understand why this should be failing. I am using the spandsp version that Steve recommended (0.0.6pre18) Any ideas or feedback would be appreciated. Thanks Bryant Zimmerman (ZK Tech Inc.) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110124/6893ced8/attachment.htm>
On Mon, Jan 24, 2011 at 2:53 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote:> I am testing out inbound faxing using res_fax and res_fax_spandsp.so > > My system answers the call but then sets there on the ReseiveFax line then > comes back with an error that it exceeded the maximum retries. > How would I go about debugging this? Below is my very simple dialplan code I > am using, and the fax show version gives the following as well.Record the call with Monitor() or MixMonitor(). Listen to the call. See if you can figure out anything obvious. Why are you doing a Wait(2)?
also the "Answer" is redundant in logger.conf console => warning,error,notice,debug,fax 2011/1/24 David Backeberg <dbackeberg at gmail.com>:> On Mon, Jan 24, 2011 at 2:53 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote: >> I am testing out inbound faxing using res_fax and res_fax_spandsp.so >> >> My system answers the call but then sets there on the ReseiveFax line then >> comes back with an error that it exceeded the maximum retries. >> How would I go about debugging this? Below is my very simple dialplan code I >> am using, and the fax show version gives the following as well. > > Record the call with Monitor() or MixMonitor(). > > Listen to the call. > > See if you can figure out anything obvious. > > Why are you doing a Wait(2)? > > -- > _____________________________________________________________________ > -- 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 >
On 01/24/2011 2:54PM Bryant Zimmerman wrote I am testing out inbound faxing using res_fax and res_fax_spandsp.so My system answers the call but then sets there on the ReseiveFax line then comes back with an error that it exceeded the maximum retries. How would I go about debugging this? Below is my very simple dialplan code I am using, and the fax show version gives the following as well. FAX For Asterisk Components: Applications: SVN-branch-1.8-r297535M Spandsp FAX Driver: 20110122 075024 [fax_inbound] exten => ProcessFax,1,Answer() exten => ProcessFax,n,Wait(2) exten => ProcessFax,n,Set(TIFF=/var/spool/fax_in/fax_${STRFTIME(,,%Y%m%d-%H%M)}_${RAN D(1)}.tiff) exten => ProcessFax,n,ReceiveFAX(${TIFF} ,d) exten => ProcessFax,n, NoOp(Error = ${FAXOPT(error)}) exten => ProcessFax,n,NoOp( Status = ${FAXOPT(status)}) exten => ProcessFax,n,NoOp( Header = ${FAXOPT(headerinfo)}) exten => ProcessFax,n,NoOp( RemoteID = ${FAXOPT(remotestationid)}) exten => ProcessFax,n,NoOp( Result = ${FAXOPT(statusstr)}) I can't figure out how to turn on any debuging for this nor can I understand why this should be failing. I am using the spandsp version that Steve recommended (0.0.6pre18) Any ideas or feedback would be appreciated. Thanks Bryant Zimmerman (ZK Tech Inc.) Ok I got a inbound fax to work with our audiocodes pri gateway but I am having no luck with a number on Level 3. I did figure out that I can use "fax set debug on/off" and I found that I can add the "fax" keyword in logging.conf to see the fax debugging. The issue now is I am unsure how to figure out the cause of the fail. I have attached a text file with the debug logs. The attached file was too large so I am putting in a link to the file. It is a virus free text file. Fax Debug.txt Thanks for any help. Bryant Zimmerman (ZK Tech Inc.) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110125/84ae3fca/attachment-0001.htm>
On Tue, Jan 25, 2011 at 1:45 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote:> Do you know how to force off T.38 in res_fax?it's in sip.conf take a look for t38pt_udptl=yes change it to no> reload sipon your console that should force it to either fail entirely or do audio passthrough.
---------------------------------------- From: "David Backeberg" <dbackeberg at gmail.com> Sent: Tuesday, January 25, 2011 1:53 PM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] ReceiveFAX issue. On Tue, Jan 25, 2011 at 1:45 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote:> Do you know how to force off T.38 in res_fax?it's in sip.conf take a look for t38pt_udptl=yes change it to no> reload sipon your console that should force it to either fail entirely or do audio passthrough. ---------------------------------------- Ok If I set t38pt_udptl = no on the trunk the fax comes in t.30 but I can't make t.38 work I keep getting the following error "Disconnected after permitted retries" Any ideas on this? Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110125/5ad18df3/attachment.htm>
Has anyone else seen an issue with t.38 faxing on Level 3 with res_fax and res_fax_spandsp.so What we are seeing in the packet captuers is that the call is trying to do t.38 but does not appear to be completing the handshaking. No data is being transmitted. I have included a link to my pcap of this. Can anyone give me some more insight? cap-t38.pcap Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110126/bf2c1309/attachment.htm>