search for: headerinfo

Displaying 20 results from an estimated 23 matches for "headerinfo".

2011 Jun 30
0
SendFax: not setting the fax header
...me: 60\n" ."Context: fax\n" ."Extension: 100\n" ."Set: FAXFILE=$file_dst\n" ."Set: FAXOPT(localstationid)=$_POST[mynumber]\n" ."Set: FAXOPT(headerinfo)=$_POST[mynumber] $_POST[myname] $_POST[myemail]\n" .""; ====== As you can see, I set the LOCALHEADERINFO to string I got from a web form. My fax extension for sending fax looks like that: ====== [fax] exten => 100,1,System(/usr/local/bin/pdf2fax.sh ${FAX...
2016 Dec 17
2
Asterisk Fax Receive - how to get the remoteheader?
Hi, I am using asterisk 11.8 in combination with spandsp to send and receive T38 Faxes. All works fine, but I do not know how to get the remoteheader from the fax I receive. When I send a fax, there are Faxopts to set the localstationid and the headerinfo, but for receiving, there seems to only exist the Faxopts remotestationid but for sure on any fax I receive there is a remoteheaderinfo besides the remotestationid... it is on the tiff-file, but I need this info in a channel-variable... Does anybody know how to get the remoteheaderinfo for a rec...
2016 Dec 18
2
Asterisk Fax Receive - how to get the remoteheader?
...n? thanks, yves Am 18.12.2016 um 00:02 schrieb Larry Moore: > The list of options available are listed here > https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_FAXOPT > > It doesn't appear that a received header is available unless it is > written into the 'headerinfo' variable after it is received, I haven't > checked for this. > > From my days working with fax machines, the header could be inserted > in the line the TSI is on or in the image being transmitted, if you > receive a fax that has been sent to you with the latter set, then...
2014 Dec 23
1
ReceiveFax for multiple page (asterisk 13.0.1)
...en => s,n,Set(FAXOPT(ecm)=yes) exten => s,n,Set(FILENAME=fax-FR_${CALLERID(num)}-TO_${CALLERID(dnid)}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}) exten => s,n,Set(FAXFILE=${FILENAME}.tif) exten => s,n,Set(PDFFILE=${FILENAME}.pdf) exten => s,n,Set(FAXOPT(ecm)=yes) exten => s,n,Set(FAXOPT(headerinfo)=Received by MYCOMPANY ${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M)}) exten => s,n,Set(FAXOPT(localstationid)=5555551212) exten => s,n,Set(FAXOPT(maxrate)=14400) exten => s,n,Set(FAXOPT(minrate)=9600) exten => s,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => s,n,NoOp(FAXOPT(headerinfo) : ${FA...
2006 Oct 21
1
ReadLines question
I'm getting the following error: > headerinfo=readLines(met_station_file,n=8) > headerinfo [1] "Plot Title: tahoe met validation ,,,,,,," [2]Error: invalid multibyte string met_station_file's first 8 lines are as follows: Plot Title: tahoe met validation ,,,,,,, #,"Time, GMT-07:00","Temp, ?F",Coupler Atta...
2010 Jul 12
1
Fax for Asterisk, capable of receiving from website but not from fax machine !!
...T-5,%F_%T_${CALLERIDNUM})}) exten => receive,n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)}) exten => receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)}) exten => receive,n,NoOp(**** SETTING FAXOPT ****) exten => receive,n,Set(FAXOPT(ecm)=yes) exten => receive,n,Set(FAXOPT(headerinfo)=MY FAXBACK RX) exten => receive,n,Set(FAXOPT(localstationid)=15184893772) exten => receive,n,Set(FAXOPT(maxrate)=14400) exten => receive,n,Set(FAXOPT(minrate)=2400) exten => receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headeri...
2010 Jan 29
1
Digium fax - sending fax call file vs manager originate
...gt; send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten => send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten => send,n,Set(FAXFILE=faxout.tif) ; Set FAXOPTs exten => send,n,NoOp(**** SETTING FAXOPT ****) ;exten => send,n,Set(FAXOPT(ecm)=yes) ;exten => send,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten => send,n,Set(FAXOPT(localstationid)=1234567890) ;exten => send,n,Set(FAXOPT(maxrate)=14400) ;exten => send,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten => send,n,NoOp(**** SENDING FAX :...
2009 Dec 23
4
fax problem
Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten => _X.,1,SendFax(/root/test.tiff) but I have: salledeconf1*CLI> console dial 111 at default [Dec 23 16:24:22] WARNING[31739]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory -- Executing [111 at default:1]
2014 Feb 03
1
Incoming Fax Issue with Asterisk 11.7 and Digium Fax
...XFILE=fax-${FAXCOUNT}-rx.tif) exten => receive,n,Set(GLOBAL(LASTFAXCALLERoNUM)=${CALLERID(num)}) exten => receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)}) exten => receive,n,NoOp(**** SETTING FAXOPT ****) exten => receive,n,Set(FAXOPT(ecm)=yes) exten => receive,n,Set(FAXOPT(headerinfo)=MYFAX RX) exten => receive,n,Set(FAXOPT(localstationid)=1234567890) exten => receive,n,Set(FAXOPT(maxrate)=14400) exten => receive,n,Set(FAXOPT(minrate)=2400) exten => receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) ex...
2010 Jan 04
1
Free FaxForAsterisk ReceiveFAX not working
...xten => _XXXXXXXXXX,n,Wait(6) exten => _XXXXXXXXXX,n,NoOp(********* RECEIVING FAX *********) exten => _XXXXXXXXXX,n,ReceiveFAX(/root/receivefax.tif) exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten => h,n,NoOp(FAXOPT(locastationid) : ${FAXOPT(localstationid)}) exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) exten => h,n,NoOp(FAXOPT(...
2009 May 15
1
Fax t38 capability
...=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten => s,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten => s,n,Set(FAXFILE=fax1.tif) ; Set FAXOPTs exten => s,n,NoOp(**** SETTING FAXOPT ****) exten => s,n,Set(FAXOPT(filename)=${FAXFILE}) exten => s,n,Set(FAXOPT(ecm)=yes) exten => s,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten => s,n,Set(FAXOPT(localstationid)=1234567890) exten => s,n,Set(FAXOPT(maxrate)=14400) exten => s,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten => s,n,NoOp(**** SENDING FAX : ${FAXFILE} ***...
2009 Jul 16
1
Sending faxes with T.38 problem. Fax for Asterisk (no SpanDSP) - 1.6.1.1
...Digium Fax T.38 Driver: 1.6.1_1.0.9 (optimized for i686_32) dev10*CLDigium Fax G.711 Driver: 1.6.1_1.0.9 (optimized for i686_32) ---------------------------------------------------------- .call file Channel: SIP/1905 at outbound-calls MaxRetries: 3 WaitTime: 30 Set: LOCALSTATIONID=22222 Set: LOCALHEADERINFO=T38 fax Set: T38CALL=1 Set: T38TXDETECT=yes CallerID: 123456 Context: fax-tx Extension: send priority:1 ----------------------------------------------------------- sip.conf [general] context=default allowoverlap=no udpbindaddr=0.0.0.0 tcpenable=no tcpbindaddr=0...
2016 Nov 15
2
iaxmodem errors.
2014 Aug 11
2
Sending and receiving fax with Digium FFA
...faxes through a fax to email service we have subscribed to, so the tests for sending have that one as a destination. The extension to send fax: exten => sendfax,1,Verbose(2,Sending fax) same => n,Set(faxlocation=/tmp) same => n,Set(faxfile=fax.tiff) same => n,Set(FAXOPT(headerinfo)=Testing FAX) same => n,Set(FAXOPT(localstationid)=123456) same => n,SendFax(${faxlocation}/${faxfile},d) same => n,Verbose(2, Fax Status: ${FAXOPT(error)}) I did the exact same thing, and tried sending from both a SIP channel and a DAHDI line. The weird thing is that when...
2011 Jun 19
3
Problem with ReceiveFAX app from FFA
...ME(,,%F_%T_${CALLERID(num)})}) exten => receive,n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)}) exten => receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)}) exten => receive,n,NoOp(**** SETTING FAXOPT ****) exten => receive,n,Set(FAXOPT(ecm)=yes) exten => receive,n,Set(FAXOPT(headerinfo)=MY FAXBACK RX) exten => receive,n,Set(FAXOPT(localstationid)=15184893772) exten => receive,n,Set(FAXOPT(maxrate)=14400) exten => receive,n,Set(FAXOPT(minrate)=2400) exten => receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten => receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo...
2016 Nov 11
2
iaxmodem errors.
2018 May 21
5
Looking for better fax handling
...e number of retries. The same script checks for files in a success folder and sends the users a confirmation message that the fax was sent. The files are moved into the success folder by Asterisk using this dialplan: sendfax,1,Verbose(0,FAX ${faxfile} to ${destination}) same => n,Set(FAXOPT(headerinfo)=${sender_name}) same => n,Set(FAXOPT(localstationid)=${sender_num}) same => n,SendFax(${faxfile},d) same => n,Set(STATUS=Status: ${FAXOPT(status)}) same => n,Set(STATUS=${STATUS}\nRemote ID: ${FAXOPT(remotestationid)}) same => n,Set(STATUS=${STATUS}\nMaxrate: ${FAXOPT(maxr...
2013 Jun 19
6
Mailing a fax with mutt does not succeed
Hello everyone, I'm trying to send a received fax with mutt, when I try it from the Linux shel it works, but when trying with Asterisk's System command it doesn't. Successful Linux command: echo | mutt -s "New fax" earohuanca at gmail.com -a /tmp/faxes/201306191111.tif Unsuccessful Asterisk Command: same => n,System(mutt -s "New fax" elder.arohuanca at
2015 Jun 24
4
asterisk email to fax
2011 Jan 24
6
ReceiveFAX issue.
...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 recomme...