It is as easy as that. I've already done it. Now that you got the fax saved, send it in the command prompt using sendmail (or similar). Once you do that, you'll know the commands needed to send the email. Just put those commands in a script.
OGI scripts can be bash or perl scripts. Make sure they have execute permission. If you're asking how to differentiate on which email addy to send it to, you're on your own. I'd recommend going off of either the phone number called, or by read()ing dtmf in the dialplan. Read()ing dtmf could potentially open the door for fraud, though. On Mon, 2009-07-06 at 08:56 +0000, vamara coulibaly wrote: > Hi Gerald, > thanks for your reply but i don't think that it's so easy as you > think. If it was i wouldn't sent the help message. > but as u say, my CW server is able to receive fax (with extension > 800), so what i need now is the ogi script tosend to the appropriated > email address. so i need somebody who could help me with a working > script. > > Regards; > > > From: [email protected] > > Subject: Callweaver-users Digest, Vol 28, Issue 2 > > To: [email protected] > > Date: Sat, 4 Jul 2009 12:00:01 +0200 > > > > Send Callweaver-users mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.callweaver.org/mailman/listinfo/callweaver-users > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Callweaver-users digest..." > > > > > > Today's Topics: > > > > 1. setup fax2mail gateway (vamara coulibaly) > > 2. Re: setup fax2mail gateway (Gerald Cox) > > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 3 Jul 2009 11:32:07 +0000 > > From: vamara coulibaly <[email protected]> > > Subject: [Callweaver-users] setup fax2mail gateway > > To: callweaver users lists <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > > > Hi All, > > I would like to setup a fax2mail server with CW 1.2.1 but all the > documents i have read and tested let me very confused. > > Could somebody give me a step by step guide to make it possible ? > > It's will be very appreciated . > > > > Best regards and hoping to read you soon. > > > > _________________________________________________________________ > > D?couvrez toutes les possibilit?s de communication avec vos proches > > http://www.microsoft.com/windows/windowslive/default.aspx > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > http://lists.callweaver.org/pipermail/callweaver-users/attachments/20090703/050dc8ca/attachment.html > > > > > ------------------------------ > > > > Message: 2 > > Date: Fri, 03 Jul 2009 05:20:08 -0600 > > From: Gerald Cox <[email protected]> > > Subject: Re: [Callweaver-users] setup fax2mail gateway > > To: Users Mailing List - Non-Commercial Discussion > > <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > ???? > > Get it to receive a fax, then get it to run a OGI script to send it > to a > > email addy. > > > > There's only 2 steps.. > > > > > > On Fri, 2009-07-03 at 11:32 +0000, vamara coulibaly wrote: > > > Hi All, > > > I would like to setup a fax2mail server with CW 1.2.1 but all the > > > documents i have read and tested let me very confused. > > > Could somebody give me a step by step guide to make it possible ? > > > It's will be very appreciated . > > > > > > Best regards and hoping to read you soon. > > > > > > > > > > ______________________________________________________________________ > > > D?couvrez toutes les possibilit?s de communication avec vos > proches > > > _______________________________________________ > > > Callweaver-users mailing list > > > [email protected] > > > http://lists.callweaver.org/mailman/listinfo/callweaver-users > > > > > > > > ------------------------------ > > > > _______________________________________________ > > Callweaver-users mailing list > > [email protected] > > http://lists.callweaver.org/mailman/listinfo/callweaver-users > > > > > > End of Callweaver-users Digest, Vol 28, Issue 2 > > *********************************************** > > > ______________________________________________________________________ > Découvrez toutes les possibilités de communication avec vos proches > _______________________________________________ > Callweaver-users mailing list > [email protected] > http://lists.callweaver.org/mailman/listinfo/callweaver-users _______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
