Hi all, I have problems with rxfax application. It seems to be ok but I don't receive the fax in my directory. My extension.conf is as follow: [macro-fax] exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/incoming/${UNIQUEID}.tif) exten => s,2,rxfax(${FAXFILE}) [fax] exten => 100,1,macro(fax) [reception] exten =>s,1,Answer() exten =>s,2,Background(00) exten =>fax,1,Goto(fax,100,1) And my log is : -- Executing Answer("Zap/1-1", "") in new stack -- Executing BackGround("Zap/1-1", "00") in new stack -- Playing '00' (language 'es') -- Redirecting Zap/1-1 to fax extension == Spawn extension (reception, fax, 0) exited non-zero on 'Zap/1-1' -- Executing Goto("Zap/1-1", "fax1|100|1") in new stack -- Goto (fax1,100,1) -- Executing Macro("Zap/1-1", "fax") in new stack -- Executing SetVar("Zap/1-1", "FAXFILE=/var/spool/asterisk/incoming/1095285200.16.tif") in new stack -- Executing RxFAX("Zap/1-1", "/var/spool/asterisk/incoming/1095285200.16.tif") in new stack and after that, it stay there without time out. Any suggestion ? Thanks, Angel. --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040915/8ca522b0/attachment.htm
On 15 Sep 2004 at 15:10, Angel Diaz wrote:> Hi all, > I have problems with rxfax application. It seems to be ok but I > don't receive the fax in my directory. > My extension.conf is as follow: >-- SNIP --> And my log is : > -- Executing Answer("Zap/1-1", "") in new stack > -- Executing BackGround("Zap/1-1", "00") in new stack > -- Playing '00' (language 'es') > -- Redirecting Zap/1-1 to fax extension > == Spawn extension (reception, fax, 0) exited non-zero on 'Zap/1-1' > -- Executing Goto("Zap/1-1", "fax1|100|1") in new stack > -- Goto (fax1,100,1) > -- Executing Macro("Zap/1-1", "fax") in new stack > -- Executing SetVar("Zap/1-1", > "FAXFILE=/var/spool/asterisk/incoming/1095285200.16.tif") in new stack > -- Executing RxFAX("Zap/1-1", > "/var/spool/asterisk/incoming/1095285200.16.tif") in new stack > > and after that, it stay there without time out. Any suggestion ?It's probably receiving the fax. How long does it time out for? Who can write to that directory (assuming you've created /var/spool/asterisk/incoming/)? Cheers, Matt Riddell (New Zealand Digium Distribution/Custom Software) http://www.sineapps.com/contact.php (contact us) http://www.sineapps.com/news.php (asterisk news)
Hi Matt Riddell Here you have the write permission for all "drwxrwxrwx 2 root root 4096 Sep 14 16:09 incoming" And about your question; How long does it time out for? It stay there without hang up until I switch off the fax machine. I have installed tiff-v3.6.0 and spandsp-0.0.1k.tar.gz and performed all steps described by Steve Underwood. Thanks, Angel.> Message: 6 > Date: Fri, 17 Sep 2004 12:29:10 +1200 > From: matt.riddell@sineapps.com > Subject: Re: [Asterisk-Users] Fax and Asterisk > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Message-ID: <414AD896.31950.AE7E96@localhost> > Content-Type: text/plain; charset=US-ASCII > > On 15 Sep 2004 at 15:10, Angel Diaz wrote: > > Hi all, > > I have problems with rxfax application. It seems to be ok but I > > don't receive the fax in my directory. > > My extension.conf is as follow: > > > -- SNIP -- > > And my log is : > > -- Executing Answer("Zap/1-1", "") in new stack > > -- Executing BackGround("Zap/1-1", "00") in new stack > > -- Playing '00' (language 'es') > > -- Redirecting Zap/1-1 to fax extension > > == Spawn extension (reception, fax, 0) exited non-zero on 'Zap/1-1' > > -- Executing Goto("Zap/1-1", "fax1|100|1") in new stack > > -- Goto (fax1,100,1) > > -- Executing Macro("Zap/1-1", "fax") in new stack > > -- Executing SetVar("Zap/1-1", > > "FAXFILE=/var/spool/asterisk/incoming/1095285200.16.tif") in new stack > > -- Executing RxFAX("Zap/1-1", > > "/var/spool/asterisk/incoming/1095285200.16.tif") in new stack > > > > and after that, it stay there without time out. Any suggestion ? > > It's probably receiving the fax. How long does it time out for? Who > can write to that directory (assuming you've created > /var/spool/asterisk/incoming/)? > > Cheers, > > Matt Riddell > (New Zealand Digium Distribution/Custom Software) > http://www.sineapps.com/contact.php (contact us) > http://www.sineapps.com/news.php (asterisk news) >
Thanks Steve. Everywhere I looked there seemed to be some hope, but this pretty kills my chances. Next question then: any of you know of a Vitual Fax service that could whitelabel for me? Mike> Executing Set("SIP/something", > "FAXFILE=/var/spool/asterisk-fax/1137692307.5.tif") in new stack > -- Executing RxFAX("SIP/something", > "/var/spool/asterisk-fax/1137692307.5.tif") in new stack > Jan 19 12:38:30 NOTICE[12008]: channel.c:1906 ast_read: Dropping > incompatible voice frame on SIP/something of format slin since our native > format has changed to ulawFAXing doesn't work over Voice-over-IP channels. Or, hardly ever works. Or, works occasionally but unreliably. Check the spandsp FAQ. Steve
I want to accept faxes via SIP/IAX2 (yes I've read the posts that it isnt reccomended). My PBX is 100% Virtual with the exception of one IAX connection to bring in the calls from another * box, I have no phone hardware. I am interested in doing autodetect fax to email. I have found all kinds of posts to this or that, but all seem to reference Asterisk 1.0.xor 1.1.x I am running 1.2.x. Can anyone point me in the right direction to get this solution up and running? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060522/3d59b669/attachment.htm