Summary:ASTERISK-15823: [patch] Documentation for configuring asterisk faxdetect for fax to email with spandsp
Reporter:Greg Nutt (timeshell)Labels:
Date Opened:2010-03-16 12:31:11Date Closed:2011-06-07 14:10:19
Versions:Frequency of
Environment:Attachments:( 0) Configuring_Asterisk_for_Receiving_FAX_to_Email.txt
Description:I have created a step by step of how I got asterisk working with spandsp for incoming faxes to be detected by asterisk with faxdetect with dahdi and forwarding the fax to email.
Comments:By: Paul Belanger (pabelanger) 2010-03-16 12:51:48

You'll likely have to convert this into a .txt file to be include into Asterisk docs.

By: Leif Madsen (lmadsen) 2010-03-16 12:53:27

File deleted per email from reporter.

By: Ronald Chan (loloski) 2010-03-17 10:48:23

i think there's a bug in the dialplan

exten = s,5,NoOP(/var/lib/asterisk/scripts/mailfax "${CALLERID(num)}" "${CALLEDFAX}" "${EXTNAME}" "${EXTMAIL}" "${FAXFILE}" "${EXTCOMPANY}")
exten = s,6,System(/var/lib/asterisk/scripts/mailfax "${CALLERID(num)}" "${CALLEDFAX}" "${EXTNAME}" "${EXTMAIL}" "${FAXFILE}" "${EXTCOMPANY}")

there was a missing > symbol

By: Ronald Chan (loloski) 2010-03-17 10:49:11

I added the following to the end of [default] context.
Example 2.2

exten = fax,1,Gosub(faxreceive,s,1)

another one :)

I realize the right term is typographical error not bug :)

By: Greg Nutt (timeshell) 2010-03-18 10:16:53

Actually it's neither.  It works with or without the >.

By: Leif Madsen (lmadsen) 2010-04-20 13:46:56

This needs to be formatted better. I'd suggest looking at the files:


You'll see a common theme in the formatting. You should try and keep your lines to 80 chars were at all possible (i.e. non-code lines).

You can break the rule where it would make the formatting ugly, such as on long lines of code that can't be broken up.

By: Paul Belanger (pabelanger) 2010-04-20 14:01:30

I would also recommend actually creating bash script and uploading them along side your document.

By: Paul Belanger (pabelanger) 2010-06-01 13:20:08

Suspending for now until the reporter has time to format the document better.
Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines