Displaying 1 result from an estimated 1 matches for "pdf2fax".
2011 Jun 30
0
SendFax: not setting the fax header
...AXOPT(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 ${FAXFILE})
exten => 100,n,Wait(1)
exten => 100,n,Verbose(${BOUNDARY} ${FAXOPT(localstationid)}
${FAXOPT(headerinfo)})
exten => 100,n,Verbose(${BOUNDARY} ${FAXFILE})
exten => 100,n,SendFAX(${FAXFILE}converted)
exten => 100,n,Verbose(1,### FAXSTATUS: ${FAXSTATUS})
exten =>...