Phone_User
Guru
- Joined
- Jun 9, 2008
- Messages
- 314
- Reaction score
- 0
Send Fax Program
***** Updated as of July 14, 2010 *******
Server is back up for those that my want Dandyfax. The new version should be completed mid August. Sorry for the delay. Too many things happened in my life over the last year to keep up with this.
First, I have to say great job to Ward and the rest who have made some great scripts and add-ons for Asterisk and Pbx In A Flash.
When Ward released his Fax Machine install instructions I was very impressed. My only draw back was the way you had to send a fax. Actually I didn't have a problem with it but the people who pay me did. So with that said I came up with a small program that will hopefully make the sending of faxes simpler.
The attached program will allow you to send a fax from virtually any program you can print from. The following install instructions, if followed exactly should leave you with a complete send fax solution. This has been tested on 6 different XP workstations as well as over a dozen Vista workstations. The send success was 100% over 100 faxes.
First you should follow Ward's install instructions for faxing. Second you need to be running windows XP or Vista. THird if you are running XP you need to download and install the .Net 2.0 redistributable found Here. Next you need to install ghostscript for windows. It is used for the conversion and can be found here. The link is for version 8.63. Works Great!!
********* Updated Jan 12, 2009 *********************
If upgrading to V2.0 Uninstall your previous version from add/remove programs.
You do not have to re-install ghostscript or the .Net frame work
************************************************
Vista users should only need to install the ghostscript as Vista ships with .Net 3.5.
Also, you should let ghostscript install to the default of c:\program files\gs . I have tried to make my install flexible but for now I think sticking with the standard will help work out bugs. (if any) .
Now you can install DandyFax, which can be downloaded from here or here. Once installed it asks for a reboot. You should do this.
It will install a program called DandyFax and place it in your startup folder. When you are done with the reboot DandyFax will start up and tell you that it needs to be configured. The Configuration options are fairly straighforward. However, I will go through them here.
**** Updated Jan 12, 2009 *****
Hylafax or App Fax - Select which on you are going to use
Email - this is the email you want your fax receipt to go to if using Hylafax
***************************
Local User name - This is an identifier for the fax.
Host IP - your asterisk box ip address. (dont use the name, dosn't work yet)
Port - this is your ssh port usually 22 if yours is different make the change here.
User Name - this is a user that can SSH to the server. For your testing you can use root. Once your testing is done I sugest you setup a fax_user as all the config settings are stored in an XML file and anyone who has DandyFax installed can look in there directory for this information.
Secret- password - secret for above user
Caller ID - This is your caller ID
Fax Context - this is the send fax context that would have been set when you installed Ward's fax machine.
Fax Header - The stuff that is printed accross the top of each fax page.
Station Name - your fax number
Out Bound Fax Route - for most users this should be from-internal. See note below for more information
Path to GhostScript- this is the path to your ghostscript install directory.
Operating system- Self explanitory.
Now once you have made your configuration changes the program will re-start. You will get a box that pops up and here you set the scan interval. This is defaulted to 10. This means it will scan the printer every 10 seconds for a new fax to send. You can play with that number if you find the fax send screen does not appear quick enough or too quick. Once you click ok a small icon appears in the task tray. Looks like a green printer. If you right click on it you can go to the configuration settings or exit the program.
Once it is running you will have a new printer to choose from when you print a document. The new printer is called DandyFax. Select this if you want to fax the document. Once the document has been printed to the spooler a send fax box will pop up that will ask for the number to send to, your name, the person who the fax was for, the subject of the fax and a comments box. Fill out all the boxes or very minimum fill out the phone number and press send.
Once the fax has been sent to the server a balloon will show on the DandyFax printer Icon saysing the fax has been sent to the printer. The fax will include a simple cover sheet with the information you entered above.
Thats it!!
Now a bit about faxing over the internet. From my tests it dosn't work. So, if you have voip trunks or use dundi and you send a fax that may go out over one of these trunks most likely it will fail. My solution was to make sure all my faxes went out my zap trunk. To do this I created a new out bound route called Fax-out and placed it at the bottom of my route list. In it i added a local rule and a long distance rule. Since things get changed once you save them in FreePBX you will have to search through your extensions_additional.conf file to figure out what it is accutally called. Or, when you have the DandyFax config screeen up you can click on the button beside outgoing route and it will search for your route that you have called Fax-out. So if you do it this way make sure you call the route Fax-out.
Let me know how you make out.
**** NOTE *****
1. On a few installations there has been an error reported on the first startup. If this happens click the continue button on the error window then right click the printer icon in your sys tray and exit. Once you restart things will be fine.
2. I take no responsibility if this program stops your system or computer from responding.
Rob.
***** Updated as of July 14, 2010 *******
Server is back up for those that my want Dandyfax. The new version should be completed mid August. Sorry for the delay. Too many things happened in my life over the last year to keep up with this.
First, I have to say great job to Ward and the rest who have made some great scripts and add-ons for Asterisk and Pbx In A Flash.
When Ward released his Fax Machine install instructions I was very impressed. My only draw back was the way you had to send a fax. Actually I didn't have a problem with it but the people who pay me did. So with that said I came up with a small program that will hopefully make the sending of faxes simpler.
The attached program will allow you to send a fax from virtually any program you can print from. The following install instructions, if followed exactly should leave you with a complete send fax solution. This has been tested on 6 different XP workstations as well as over a dozen Vista workstations. The send success was 100% over 100 faxes.
First you should follow Ward's install instructions for faxing. Second you need to be running windows XP or Vista. THird if you are running XP you need to download and install the .Net 2.0 redistributable found Here. Next you need to install ghostscript for windows. It is used for the conversion and can be found here. The link is for version 8.63. Works Great!!
********* Updated Jan 12, 2009 *********************
If upgrading to V2.0 Uninstall your previous version from add/remove programs.
You do not have to re-install ghostscript or the .Net frame work
************************************************
Vista users should only need to install the ghostscript as Vista ships with .Net 3.5.
Also, you should let ghostscript install to the default of c:\program files\gs . I have tried to make my install flexible but for now I think sticking with the standard will help work out bugs. (if any) .
Now you can install DandyFax, which can be downloaded from here or here. Once installed it asks for a reboot. You should do this.
It will install a program called DandyFax and place it in your startup folder. When you are done with the reboot DandyFax will start up and tell you that it needs to be configured. The Configuration options are fairly straighforward. However, I will go through them here.
**** Updated Jan 12, 2009 *****
Hylafax or App Fax - Select which on you are going to use
Email - this is the email you want your fax receipt to go to if using Hylafax
***************************
Local User name - This is an identifier for the fax.
Host IP - your asterisk box ip address. (dont use the name, dosn't work yet)
Port - this is your ssh port usually 22 if yours is different make the change here.
User Name - this is a user that can SSH to the server. For your testing you can use root. Once your testing is done I sugest you setup a fax_user as all the config settings are stored in an XML file and anyone who has DandyFax installed can look in there directory for this information.
Secret- password - secret for above user
Caller ID - This is your caller ID
Fax Context - this is the send fax context that would have been set when you installed Ward's fax machine.
Fax Header - The stuff that is printed accross the top of each fax page.
Station Name - your fax number
Out Bound Fax Route - for most users this should be from-internal. See note below for more information
Path to GhostScript- this is the path to your ghostscript install directory.
Operating system- Self explanitory.
Now once you have made your configuration changes the program will re-start. You will get a box that pops up and here you set the scan interval. This is defaulted to 10. This means it will scan the printer every 10 seconds for a new fax to send. You can play with that number if you find the fax send screen does not appear quick enough or too quick. Once you click ok a small icon appears in the task tray. Looks like a green printer. If you right click on it you can go to the configuration settings or exit the program.
Once it is running you will have a new printer to choose from when you print a document. The new printer is called DandyFax. Select this if you want to fax the document. Once the document has been printed to the spooler a send fax box will pop up that will ask for the number to send to, your name, the person who the fax was for, the subject of the fax and a comments box. Fill out all the boxes or very minimum fill out the phone number and press send.
Once the fax has been sent to the server a balloon will show on the DandyFax printer Icon saysing the fax has been sent to the printer. The fax will include a simple cover sheet with the information you entered above.
Thats it!!
Now a bit about faxing over the internet. From my tests it dosn't work. So, if you have voip trunks or use dundi and you send a fax that may go out over one of these trunks most likely it will fail. My solution was to make sure all my faxes went out my zap trunk. To do this I created a new out bound route called Fax-out and placed it at the bottom of my route list. In it i added a local rule and a long distance rule. Since things get changed once you save them in FreePBX you will have to search through your extensions_additional.conf file to figure out what it is accutally called. Or, when you have the DandyFax config screeen up you can click on the button beside outgoing route and it will search for your route that you have called Fax-out. So if you do it this way make sure you call the route Fax-out.
Let me know how you make out.
**** NOTE *****
1. On a few installations there has been an error reported on the first startup. If this happens click the continue button on the error window then right click the printer icon in your sys tray and exit. Once you restart things will be fine.
2. I take no responsibility if this program stops your system or computer from responding.
Rob.