How to send fax using asterisk

Community-based Support for users of Free Fax For Asterisk

How to send fax using asterisk

Postby VitorFlausino » Thu Sep 08, 2011 2:25 pm

Hello all.

I have an AsteriskNow 1.7.1 installed (Asterisk 1.6.2.20).
I already read some documentation, but I really can't find how to send fax using Asterisk (I installed the res_fax and res_fax_digium).

Can you explain me how? Software needed and steps?

PS:I receive the fax without any problem and forward them to email.

Thankx,
-vcf
VitorFlausino
Newsterisk
 
Posts: 6
Joined: Tue Jun 28, 2011 9:37 pm

Re: How to send fax using asterisk

Postby malcolmd » Thu Sep 08, 2011 3:36 pm

The Fax For Asterisk manual is available here:

http://docs.digium.com/FAX/fax_for_aste ... manual.pdf

It describes both sending and receiving faxes.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: How to send fax using asterisk

Postby VitorFlausino » Thu Sep 08, 2011 3:49 pm

Hello

I already read that document, but I really don't understand how to send a fax if a have a pdf file on my hand (ie on the file system, or....).

-vcf
VitorFlausino
Newsterisk
 
Posts: 6
Joined: Tue Jun 28, 2011 9:37 pm

Re: How to send fax using asterisk

Postby malcolmd » Thu Sep 08, 2011 3:53 pm

The PDF file has to be converted to TIFF. See page 39.

Page 44 shows example dialplan for using the SendFax application against the tiff that you generated.

Cheers.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: How to send fax using asterisk

Postby VitorFlausino » Thu Sep 08, 2011 4:08 pm

Ok, but my question is exactly that.. how do I call (or how is called) the SendFax application?

-vcf
VitorFlausino
Newsterisk
 
Posts: 6
Joined: Tue Jun 28, 2011 9:37 pm

Re: How to send fax using asterisk

Postby VitorFlausino » Thu Sep 08, 2011 4:12 pm

Or in other words the "fax-tx"

-vcf
VitorFlausino
Newsterisk
 
Posts: 6
Joined: Tue Jun 28, 2011 9:37 pm

Re: How to send fax using asterisk

Postby malcolmd » Fri Sep 09, 2011 7:12 am

Look into call spool files; or into the Originate application.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: How to send fax using asterisk

Postby rfine » Wed Sep 28, 2011 12:14 pm

Asterisk can generate callfiles. You can execute applications through these files by creating the appropriate call file and then moving it into the /var/spool/asterisk/outgoing directory. Be careful not to actually perform a "cp" (copy) command however , make sure you use the "mv" (move) command when placing them into the directory. An example file below:

touch hello-world.call

open this file and paste in the appropriate info for you trunk and so forth example below

Channel: SIP/trunkname/18882223333
Application: Playback
Data: hello-world

then move this file into the /var/spool/asterisk/outgoing directory
rfine
Oldsterisk
 
Posts: 93
Joined: Wed Sep 28, 2011 10:51 am

Re: How to send fax using asterisk

Postby davidm71 » Wed Oct 12, 2011 6:59 pm

I would like to know how to do that to!
davidm71
Newsterisk
 
Posts: 3
Joined: Thu Mar 17, 2011 9:52 am


Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest