search for: emailaddr

Displaying 20 results from an estimated 38 matches for "emailaddr".

2006 Jun 16
2
Receiving faxes and then sending them on
...d 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,txfax(${FAXFILE}|caller) exten => s,1...
2005 Mar 21
6
Fax receive issues and NVFaxDetect
...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(faxreceive) exten => h,1,System(/var/lib/asterisk/scripts/mailfax "${FAXFILE}" "$...
2005 Feb 06
4
Autodetecting faxes
...7XX,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/mailfax ${FAXFILE} ${EMAILADDR} \ "${CALLERIDNUM} ${CALL...
2006 Feb 01
6
Receiving faxes with spandsp - strange problem
...still one message: Calling... Part of my extensions.conf: [incoming] exten => 2933975,1,Goto(fax,2201,1) [fax] exten => 2201,1,Macro(faxreceive) [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,4,Congestion exten => s,103,SetVar(EMAILADDR=defaultuser@example.com) exten => s,104,Goto(3) 2933975 is the number on which asterisk should listen for new faxes and it works (in a way that rxfax i...
2006 May 31
0
extra parameter for DB read function
There are often times that I want to read a DB value from the dialplan, and if this family/key pair does not exist, set it to some default value. for example: 1234,1 => Set(EMAILADDR=${DB(x/y)} 1234,2 => GotoIf($["${EMAILADDR}" = ""]?3:4) 1234,3 => Set(EMAILADDR=Someone@test.com) 1234,4 => NoOp(${EMAILADDR}) 1234,5 => Hangup() I have modified the db function to take an extra parameter to set if the key does not exist. So, the dialplan would...
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)
2005 Jul 13
2
SpanDSP rxfax, no tiff.
...mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf section --- [fax] exten => s,1,Answer exten => s,2,Macro(faxreceive) exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) [macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten => s,2,rxfax(${FAXFILE}) exten => s,3,Set(EMAILADDR=yyyy@zzzzzzzzz.com) -------------- next part -------------- An HTML attachment was scrubbed... URL: http:...
2005 Jul 31
0
Asterisk fax problems with spandsp
...uot;, "faxreceive") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1", "FAXFILE=/var/spool/asterisk-fax/1122434412.32.tif") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- Executing DBget("Zap/2-1", "EMAILADDR=extensionemail/777") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- DBget: varname=EMAILADDR, family=extensionemail, key=777 Jul 27 13:20:12 VERBOSE[1513]: -- DBget: set variable EMAILADDR to test@test.com Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1&quo...
2004 Jun 17
1
Blank faxes with RxFAX
...ilt 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, meaning that I don't seem to get any errors. However, all the faxes s...
2006 Jan 19
0
Incoming fax on voipbuster
...om 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(10) exten => 300,2,Answer() exten => 300,3,SetVar(FAXFILE=/...
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", "faxreceive") in new stack [Jan 23 10:43:38] -- Executing Set(&quo...
2005 Jul 27
1
RE: Asterisk fax problems with SPANDSP
...uot;, "faxreceive") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1", "FAXFILE=/var/spool/asterisk-fax/1122434412.32.tif") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- Executing DBget("Zap/2-1", "EMAILADDR=extensionemail/777") in new stack Jul 27 13:20:12 VERBOSE[1513]: -- DBget: varname=EMAILADDR, family=extensionemail, key=777 Jul 27 13:20:12 VERBOSE[1513]: -- DBget: set variable EMAILADDR to test@test.com Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1&quo...
2004 Jan 07
8
Asterisk + fax
Hi, does anyone have any recommended (read tried and tested) way of making asterisk be able to handle incoming faxes. I've a PC running asterisk with a digium E1 card in and simply want to be able to route a call to some application which will take a fax call and save the fax as an image. I guess the bits I'm unsure of are how to terminate a fax call without a modem (if this is
2004 Dec 06
2
h extension in macro
...y 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 macro? Thanks. -----...
2005 Mar 03
0
fax and codecs
...s,3,DigitTimeout(10) exten => s,4,ResponseTimeout(20) exten => s,5,NVFaxDetect(10) exten => s,6,Background(vm-extension) exten => fax,1,Goto(fax,2201,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=me@mysys.com) exten => s,104,Goto(3) [fax] exten => 2201,1,Macro(faxreceive) exten => 2202,1,Macro(faxreceive) exten => 2203,1,Macro(faxreceive) exten => h,1,system(/usr/lo...
2005 Mar 22
2
asterisk@home print incoming fax
...coming 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) exten => in_fax,6,Hangup exten => analog_fax,1,GotoIf($[${FAX_RX} = disabled]?3:2) ;if...
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 attachment was scrubbed... URL:
2007 Jun 11
1
Crashes with Spandsp, app_rxfax.c, and asterisk 1.4.4
...d it or were vague about how they did. My verison of libtiff is 3.7.1. One of the crashes printed out this stack trace information, although that doesn't come out most of the time: XXXXXXXXXXXXXXXXXXXXXXX -- Executing [s@macro-faxreceive:2] Set("Zap/1-1", "EMAILADDR=fax-group@example.com") in new stack -- Executing [s@macro-faxreceive:3] RxFAX("Zap/1-1", "/var/spool/asterisk/fax/1181537898.0.tif|debug") in new stack linux40*CLI> *** glibc detected *** /usr/sbin/asterisk: free(): invalid next s...
2010 May 28
2
Asterisk 1.6.2.7 + app_fax + OpenBSD 4.7 minor issue
..." ) in new stack -- Executing [s at macro-receivefax:1] Set("SIP/metaswitch-00000001", "FAXFILE=/var/spool/asterisk-fax/ 1274995265.1.tif") in new stack -- Executing [s at macro-receivefax:2] Set("SIP/metaswitch-00000001", "EMAILADDR=noah.p at bendtel.com") i n new stack -- Executing [s at macro-receivefax:3] Answer("SIP/metaswitch-00000001", "") in new stack -- Executing [s at macro-receivefax:4] Wait("SIP/metaswitch-00000001", "2") in new stack -- Executing...
2010 Feb 04
6
Running a script after Dial() ?
...corded exten = _8[01]./_251,1,Set(something=shortened) exten = _8[01]./_251,n,Set(WAV=filename) exten = _8[01]./_251,n,Monitor(wav,${WAV},mb) exten = _8[01]./_251,n,Dial(mISDN/2/${EXTEN:1},,g) exten = _8[01]./_251,n,System(send-recorded-conversation ${WAV}.wav ${EXTEN:1} emailaddr) exten = _8[01]./_251,n,Hangup() The idea is that the caller may opt to record a conversation by prefixing the dialled number with '8'. The wav file would then be emailed to him when the call finishes. The recording works fine, but the emailing doesn't - only when the called party...