search for: faxfil

Displaying 20 results from an estimated 129 matches for "faxfil".

Did you mean: faxfile
2005 Mar 22
2
asterisk@home print incoming fax
*@home has this for it's incoming fax macro --- start snip --- [ext-fax] exten => in_fax,1,GotoIf($[${FAX_RX} = system]?2:analog_fax,1) exten => in_fax,2,Macro(faxreceive) exten => in_fax,3,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf ${FAXFILE}.pdf) exten => in_fax,4,system(mime-construct --to ${EMAILADDR} --subject "Fax from ${CALLERIDNUM} ${CALLERIDNAME}" --attachment ${CALLERIDNUM}.pdf --type application/pdf --file ${FAXFILE}.pdf) exten => in_fax,5,system(rm ${FAXFILE} ${FAXFILE}.pdf) exte...
2005 Mar 21
6
Fax receive issues and NVFaxDetect
...typing in an extension it goes to that extension but I need to get the fax working first. Error I get when I turn on Fax conf... pbx.c:1945 ast_pbx_run: Timeout, but no rule 't' in context 'from-Sipmedia2' Fax Conf in extensions.conf top [macro-faxreceive] exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten => 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(faxrecei...
2006 Jun 16
2
Receiving faxes and then sending them on
...where incoming faxes are received using SpanDSP and then send on to another (remote) fax machine. The SpanDSP part is working excellently, however I dont seem to be able to get the forwarding part to work. 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...
2009 Jan 15
1
how to debug mime-construct with fax2mail?
...t: [fax-test] exten=>666,1,NoOp( fax-test ) exten=>666,2,System(/bin/echo "this is a system test"${STRFTIME(${EPOCH},,%H%M)} >> /opt/system-test) exten=>666,3,System(/usr/local/bin/fax2mail.1.sh --dest-name Sean --dest-email seandarcy2 at gmail -f /var/spool/asterisk/fax/FAXFILE) exten=>666,n,Hangup This works fine on the cli. And /opt/system-test captures the /bin/echo string. AND, the fax2mail log - /var/log/asterisk/faxlog - shows that fax2mail was`called, and there are no errors. So it's not the System() cmd. But the email is NOT sent. faxlog: fax2mail v...
2018 May 21
5
Looking for better fax handling
...on. That all works fine. A separate process picks up the files and sends them using an AMI script like this: Action: Originate Channel: SIP/provider/%(destination)s Context: LocalSets CallerID: Vybe Consulting Inc Fax Service <6475551212> Exten: sendfax Priority: 1 Timeout: 30000 Variable: faxfile=%(faxfile)s Variable: uid=%(uid)s Variable: destination=%(destination)s Variable: sender_name=Vybe Consulting Inc Fax Service Variable: sender_num=6475551212 It then renames the file encoding the next retry time and incrementing the number of retries. The same script checks for files in a succes...
2010 May 02
1
working example of t38 fax w/ 1.6.2?
I can't get a test T.38 fax between 2 1.6.2 machines, using app _fax and spandsp pre17 and 20100501. The machines can't seem to get connected. send side extensions.conf: [fax-tx-test] exten=>s,1,NoOp(Context fax-tx-test) exten=>s,n,SendFAX(${FaxFile}.tif) exten=>s,n,HangUp() exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXMODE: ${FAXMODE}) Channel:SIP/side-sip-fax Context:fax-tx-test Extension:s Priority:1 Set:FaxFile=/var/spool/asterisk/fax/20091113_1455 receive side: [incoming-fax] exten => s,1,Set(FAXFILE=/va...
2005 Oct 18
8
Fax2Mail
Hello, Is there or can anyone provide a comprehensive guide (designed for Linux/Asterisk novices) to installing/setting up Asterisk in order to support Fax2Mail service? In my case, I would like Asterisk to receive fax calls to predefined numbers (ranges) and to associate each of these numbers to email addresses. Thank you in advance. David --------------------------------- Yahoo!
2005 Jul 13
2
SpanDSP rxfax, no tiff.
...Answered)... -- Detected ring pattern: 93,0,0 -- Distinctive Ring matched context fax -- Executing Answer("Zap/4-1", "") in new stack -- Executing Macro("Zap/4-1", "faxreceive") in new stack -- Executing 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-...
2011 Jun 29
1
dialplan execution stops after ReceiveFax
...bose(${BOUNDARY} BCHANNELINFO ${BCHANNELINFO}) ; nur verarbeiten, wenn B-Kanal frei ist exten => s,n,GotoIf($[${BCHANNELINFO} = 2]?hangup:free) exten => s,n(free),NoOp() exten => s,n,Set(TO=${ARG1}) exten => s,n,Verbose(1,${BOUNDARY} Eingehendes Fax ${CDR(uniqueid)}) exten => s,n,Set(FAXFILE=/var/spool/fax/fax-${TO}-${CDR(uniqueid)}.tif) exten => s,n,Set(LOCALSTATIONID=jumping frog) exten => s,n,Answer() exten => s,n,Wait(3) exten => s,n,ReceiveFAX(${FAXFILE},d) exten => s,n,Verbose(1,${BOUNDARY} Nach dem Fax!) exten => s,n,System(/usr/local/bin/fax2mail.sh ${FAXFILE...
2006 Apr 19
0
Receiving Faxes...
..., after your fax was received), instead of using the priorities following the fax reception (as in your example). Have a look at the different examples in the wiki, like http://www.voip-info.org/wiki-Asterisk+fax: [fax] exten => 666,1,Macro(faxreceive) exten => h,1,system(/usr/sbin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERIDNUM}) Regards, Silviu -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Christian Gr?ger Sent: mardi 18 avril 2006 21:08 To: Asterisk Users Mailing List - Non-Commercial Discussion Subj...
2004 Dec 21
5
AMP - Fax Detections
...; not EXT or GR1 - it's an auto attendant exten => fax,1,Goto(ext-fax,in_fax,1) exten => h,1,Hangup [ext-fax] exten => in_fax,1,GotoIf($[${FAX_RX} = system]?2:analog_fax,1) exten => in_fax,2,Macro(faxreceive) exten => in_fax,3,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf - ${FAXFILE}.pdf) exten => in_fax,4,system(mime-construct --to ${EMAILADDR} --subject "Fax from ${CALLERIDNUM} ${CALLERIDNAME}" --attachment ${CALLERIDNUM}.pdf --type application/pdf --file ${FAXFILE}.pdf) exten => in_fax,5,system(rm ${FAXFILE} ${FAXFILE}.pdf) exten =>...
2019 Dec 03
2
Faxes stopped working - AMI issue?
...fter the login, looks like this: > > Action: Originate > Channel: SIP/outgoing/%%(destination)s > Context: LocalSets > CallerID: Vybe Consulting Inc Fax Service <5555551212> > Exten: sendfax > Priority: 1 > Timeout: 30000 > Variable: faxfile=%%(faxfile)s > Variable: uid=%%(uid)s > Variable: destination=%%(destination)s > Variable: sender_name=Vybe Consulting Inc Fax Service > Variable: sender_num=5555551212 > > Those "%%" strings get replaced by real data.  My sendfax extension has >...
2019 Nov 27
2
Faxes stopped working - AMI issue?
...er.c: Manager 'asterisk' logged on from 127.0.0.1 The AMI command, after the login, looks like this: Action: Originate Channel: SIP/outgoing/%%(destination)s Context: LocalSets CallerID: Vybe Consulting Inc Fax Service <5555551212> Exten: sendfax Priority: 1 Timeout: 30000 Variable: faxfile=%%(faxfile)s Variable: uid=%%(uid)s Variable: destination=%%(destination)s Variable: sender_name=Vybe Consulting Inc Fax Service Variable: sender_num=5555551212 Those "%%" strings get replaced by real data. My sendfax extension has a bunch of stuff but the very first line is this: ext...
2005 Feb 06
4
Autodetecting faxes
...,Goto(fax,1,1) ; dialling this number works exten => 442781,2,Hangup() exten => _4427XX,1,Answer() ; dialling any number in here does not exten => _4427XX,2,Macro(dialsip,${EXTEN:3}) exten => _4427XX,3,Hangup() exten => fax,1,Goto(fax,1,1) [macro-faxreceive] exten => s,1,SetVar(FAXFILE=/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/mail...
2008 Dec 20
2
Setup ReceiveFax(), fax2mail, mime-construct - but now Sendmail :(
Using 1.6 on Fedora Core 9 I'm trying to receive faxes. I've got this far: [incoming-fax] exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0${CALLERIDNUM}) exten => s,2,ReceiveFAX(${FAXFILE}.tif) exten => s,3,Hangup() exten=>h,1,System(/usr/local/bin/fax2mail --cid-number "0${CALLERIDNUM}" --cid-name "home fax" --dest-name "admin" --des...
2007 Feb 09
7
Dialplan checkup
Hi All Curious will this work Std. PSTN line ---x------ X100p | ------ Fax Machine Using a standard "home phone" pstn line with a splitter connecting a fax machine and X100 Asterisk Box Incoming Line: Can I have in the dial Plan [incoming] exten => s,1,Wait(1) exten => s,2,IfFax continue to ring, so that the Fax Machine gets it exten
2009 Jan 14
1
1.6.1-b4: Can't get fax2mail work from System()
On 1.6.1-beta4: Trying to receive faxes over a pstn line. extensions.conf: [incoming-pstn-line] exten => fax,1,NoOp(Fax Detected) exten => fax,2,GoTo(incoming-fax,s,1) exten => fax,n,Hangup() ............ [incoming-fax] exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0${CALLERIDNUM}) exten => s,2,ReceiveFAX(${FAXFILE}.tif) exten => s,3,Hangup() exten=>h,1,System(/usr/local/bin/fax2mail.1.sh --dest-name "Sean" --dest-email "${Sean_email}" -f "${FAXFILE}") which lo...
2004 Jun 17
1
Blank faxes with RxFAX
Hello All, I have downloaded and installed spandsp and downloaded rxfax, etc and rebuilt asterisk with app_rxfax. I have added the following to my extensions.conf: [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,...
2006 Jan 19
0
Incoming fax on voipbuster
...buster] type=peer fromuser=myphonenumber username=myusername secret=mypassword host=sip1.voipbuster.com context=voipbuster language=nl ------------------------- ------- dialplan ------- [voipbuster] 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(...
2006 Jan 22
1
macro-faxreceive
How should be the macro rewritten? [macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN}) exten => s,3,rxfax(${FAXFILE}) exten => s,103,Set(EMAILADDR=ronald@elmit.com) exten => s,104,Goto(3) ... [Jan 23 10:43:38] -- Executing Macro("Zap/3-1", "faxreceiv...