search for: mailfax

Displaying 20 results from an estimated 30 matches for "mailfax".

2004 Dec 06
2
h extension in macro
Hi, I have one Q: why doesn't work h-extension in macro? I want to setup fax macro, to send tif-file after fax channel hang-up, but h-extension doesn't work in macro, so I must put them to global context. But in this setup, exten => h,1,system(/var/lib/asterisk/bin/mailfax ${FAXFILE} ${EMAILADDR} "${CALLERIDNUM} ${CALLERIDNAME}") mailfax binary will be executed after any hang-up, also after calls, not only faxes. I know I can use some variable and if statement to run mailfax only if that variable will be true, but is there any way to handle h-extension in...
2005 Jul 13
2
SpanDSP rxfax, no tiff.
...Set("Zap/4-1", "FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack -- Executing RxFAX("Zap/4-1", "/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack -- Executing System("Zap/4-1", "/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ") in new stack Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to execute '/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf...
2009 Nov 11
1
Unable to execute
...sk-users/attachments/20091111/2b828eff/attachment.htm -------------- next part -------------- Hello. I am trying to execute an fax reception script and i am getting the following: [Nov 11 08:40:52] WARNING[12800]: app_system.c:88 system_exec_helper: Unable to execute '/var/lib/asterisk/scripts/mailfax "" "" "" "" "" ""' I tried changing the permissions to the mailfax script but Asterisk still can?t execute the script. The macro is the following: [macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${CALLEDFAX}/${U...
2005 Feb 15
1
"System" command causes core dump Warning: Newbie help :)
With the following program: #!/bin/sh # mailfax: program to email received fax as pdf FAXFILE=$1 RECIPIENT=$2 FAXSENDER=$3 FAXID=`basename $1|cut -d "." -f1,2`.pdf FAXTXT=`basename $1|cut -d "." -f1,2`.txt tiff2pdf $FAXFILE > $FAXID sendfax.pl $FAXID $RECIPIENT $FAXSENDER $FAXFILE #end of program If I execute the follo...
2005 Jul 14
5
SpanDSP rxfax, no tiff
Maybe I over-complicated my question with the mailfax part. If I leave the mailfax step out entirely, then there should be a .tif file, right? But there's not. No tif file gets created at all. Permissions on the fax folder are 777 at the moment. Thanks for the responses so far. /Rob -------------- next part -------------- An HTML a...
2004 Nov 30
2
Spandsp kind of working
I have spandsp installed and working, but when it emails using Scotts mailfax, the attachment is a dat file. I tried to rename the file to .tiff or .pdf, but it will not open. In the /var/spool/asterisk/fax folder, that faxes are there as tiffs, and I can open those without any trouble. The problem is in the conversion from tiff to pdf. Is there another package that need...
2005 Jul 13
0
AW: SpanDSP rxfax, no tiff.
is /usr/local/sbin/mailfax flagged to 755? ________________________________ Von: asterisk-users-bounces@lists.digium.com im Auftrag von Rob Danz Gesendet: Mi 13.07.2005 17:17 An: asterisk-users@lists.digium.com Betreff: [Asterisk-Users] SpanDSP rxfax, no tiff. Hello, Let me start by saying I have checked the wiki and t...
2005 Jun 01
1
rxfax problems - cont.
...===================== Jun 2 00:10:41 DEBUG[16900]: chan_zap.c:3974 __zt_exception: Exception on 28, channel 10 Jun 2 00:10:41 DEBUG[16900]: chan_zap.c:3286 zt_handle_event: Got event On hook(1) on channel 10 (index 0) -- Executing System("Zap/10-1", "/var/lib/asterisk/scripts/mailfax "*1076" "*1078" "" "" "/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" """) in new stack Jun 2 00:10:41 WARNING[16900]: app_system.c:70 system_exec_helper: Unable to execute '/var/lib/asterisk/scripts/mailfax "*...
2005 Mar 21
6
Fax receive issues and NVFaxDetect
...s,7,rxfax(${FAXFILE}) exten => s,103,SetVar(EMAILADDR=my@email.us) exten => s,104,Goto(7) [from-Sipmedia2] ;second line in or Fax line exten => s,1,Answer exten => fax,2,Goto(fax,2901,1) [fax] exten => 2901,1,Macro(faxreceive) exten => h,1,System(/var/lib/asterisk/scripts/mailfax "${FAXFILE}" "${EMAILADDR}" "${CALLERIDNUM}" "${CALLERIDNAME}") Thanks, Chris Tuska Network Engineer CCNA, CCSA In theory, theory and practice are the same. In practice, they aren't -------------- next part -------------- An HTML attachment was scrub...
2006 Jun 16
2
Receiving faxes and then sending them on
...k. Heres what I put into my extensions.conf: exten => s,4,Answer() exten => s,5,Set(FAXFILE=/tmp/fax-${UNIQUEID}.tif) exten => s,6,Set(EMAILADDR=ingrid.fix@offix-koeln.de) exten => s,7,Set(EMAILADDR=${ARG1}) exten => s,8,rxfax(${FAXFILE}|debug) exten => s,9,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} $ {CALLERIDNUM}) exten => s,10,Dial(${ARG2}) exten => s,11,txfax(${FAXFILE}|caller) exten => s,12,Hangup Asterisk does start dialing at priority 10 however as soon as the remote fax hangs up that call gets destroyed as well. Is there anyway to do something like...
2010 May 28
2
Asterisk 1.6.2.7 + app_fax + OpenBSD 4.7 minor issue
Hi folks, I am having a small problem with asterisk-1.6.2.7 + app_fax on OpenBSD 4.7 -release. Everything seems to work fine. I have a macro which answers, receives the fax to a tiff, and then runs a script (mailfax) to convert that to pdf and email it. It all works perfectly except for some errors I am seeing in the console. After it hangs up I get a dozen or so messages in the cli saying,"[May 27 14:21:51] WARNING[26225]: rtp.c:1632 ast_rtp_read: RTP Read too short" Perhaps I shouldn't worr...
2003 Oct 07
4
Fax Detection
I am attempting to get fax detection to work. I am using a NETjet-s card under ISDN4Linux. Asterisk does not seem to be detecting the fax tone. I have tried following as a test: [MainMenu] exten => s,1,Answer exten => s,2,DigitTimeout(3) exten => s,3,ResponseTimeout(5) exten => s,4,Background(Welcome) exten => s,5,Background(MainMenu) exten => fax,1,Dial(Zap/1,,d) [FaxTest]
2010 Mar 08
2
fax & spandsp
...1] GotoIf("DAHDI/8-1", "1?200") in new stack [Mar 8 12:12:30] VERBOSE[30115] pbx.c: [Mar 8 12:12:30] -- Goto (detectfax,h,200) [Mar 8 12:12:30] VERBOSE[30115] pbx.c: [Mar 8 12:12:30] -- Executing [h at detectfax:200] System("DAHDI/8-1", "/usr/local/bin/mailfax /var/spool/asterisk/fax/4502-1268079069.417.tif xxxx at xxxx.com ") in new stack [Mar 8 12:12:31] VERBOSE[30115] chan_dahdi.c: [Mar 8 12:12:31] -- Hungup 'DAHDI/8-1' asterisk: 1.6.1.17 spandsp: 0.0.6pre17 -- Edwin Lam <edwin.lam at officegeneral.com> Systems Engineer,...
2005 Feb 06
4
Autodetecting faxes
...XFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN}) exten => s,3,rxfax(${FAXFILE}) exten => s,103,SetVar(EMAILADDR=jmls@tessera.co.uk) exten => s,104,Goto(3) [fax] exten => 1,1,Macro(faxreceive) exten => h,1,system(/usr/sbin/mailfax ${FAXFILE} ${EMAILADDR} \ "${CALLERIDNUM} ${CALLERIDNAME}") exten => h,2,Hangup()
2004 Jun 17
1
Blank faxes with RxFAX
...[macro-faxreceive] ; ${ARG1} - sendto e-mail exten => s,1,Wait(2) exten => s,2,Answer exten => s,3,SetVar(FAXFILE=/var/spool/asterisk-fax/fax-${MACRO_EXTEN}-${TIMESTAMP}) exten => s,4,SetVar(EMAILADDR=${ARG1}) exten => s,5,rxfax(${FAXFILE}.tif) exten => s,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} "${CALLERIDNUM} ${CALLERIDNAME}") And everything looks like it is running fine, meaning that I don't seem to get any errors. However, all the faxes seem to be blank. The only references to anything like this that I could find previously on the list were in r...
2006 Jan 19
0
Incoming fax on voipbuster
...er] exten => myusername,1,Wait(10) exten => myusername,2,Answer() exten => myusername,3,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten => myusername,4,SetVar(EMAILADDR=my@email.net) exten => myusername,5,rxfax(${FAXFILE}) exten => myusername,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} "${CALLERIDNUM} ${CALLERIDNAME}") [default] exten => 300,1,Wait(10) exten => 300,2,Answer() exten => 300,3,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten => 300,4,SetVar(EMAILADDR=my@email.net) exten => 300,5,rxfax(${FAXFILE}) exten =...
2006 Jan 22
1
macro-faxreceive
...:43:38] == Spawn extension (macro-faxreceive, s, 2) exited non-zero on 'Zap/3-1' in macro 'faxreceive' [Jan 23 10:43:38] == Spawn extension (fax, 2201, 1) exited non-zero on 'Zap/3-1' [Jan 23 10:43:38] -- Executing System("Zap/3-1", "/usr/local/sbin/mailfax /var/spool/asterisk-fax/1137984210.35.tif " "") in new stack [Jan 23 10:43:38] -- Hungup 'Zap/3-1'
2007 Mar 09
1
Another Faxing Question
...simple extension setup to use rxfax to receive faxes sent to asterisk. It is: exten => s,1,Answer() exten => s,n,AbsoluteTimeout(300) exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${ARG1}_${CALLERIDNUM}_${UNIQUEID}.tif) exten => s,n,rxfax(${FAXFILE}) exten => s,n,System(/usr/bin/mailfax "${ARG1}" "${FAXFILE}" "${ARG2}") exten => s,n,Hangup() exten => T,1,Hangup() I read that you had to put a AbsoluteTimeout in there, or it might not hang up. My questions then are... why wouldn't it hang up without the timeout, and what if the fax really is...
2008 Apr 04
1
rxfax issue
...0/1, span 2 got hangup request, cause 16 -- Hungup 'Zap/25-1' Extensions.conf File: [macro-faxreceive] exten => s,1,Answer() exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${ARG1}_${CALLERID(num)}_${UNIQUEID}.tif) exten => s,n,rxfax(${FAXFILE}) exten => s,n,NoOp(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}" "${CALLERID(name)}" "${FAXFILE}" "${ARG2}") exten => s,n,System(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}" "${CALLERID(name)}" "${FAXFILE}" "${ARG2}") exten => s...
2003 Oct 28
4
Software FAX
...m. #/bin/sh cd /var/spool/asterisk/incoming for X in *.tif do if [ -f $X ] ; then mutt -s "FAX from $X" -a $X laugh@anistonetech.com < /dev/null rm $X fi done 11) Add a cronjob to run my script every 5 minutes. */5 * * * * /usr/sbin/mailfax 12) Test and enjoy. To send a fax all I have to do is.... 1) Get the .tif file on the server somewhere 2) Put a file sample.call in the /var/spool/asterisk/outgoing/ directory and it looks like this... Channel: Zap/3/7989106 Application: txfax Data: /root/fax.tiff 3) Asterisk will send it or...