Steve: no. Not easier to monitor a directory. I've got that setup as well. Not easier at all. He can do EVERYTHING in the dialplan w/ OGI.
If writing bash scripts is a difficulty, you've got much to learn before tackling callweaver. Start here:http://www.linuxconfig.org/Bash_scripting_Tutorial You can't write anything simpler then a bash script. It's just like a .bat file in windows, but in linux. Sending email with attachments: http://www.unix.com/how-do-i-send-email/13766-send-mail-attachment-body.html I use mutt: http://www.mutt.org/doc/man_page.html Google is your friend! Try just searching for what you're looking for. http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS326&=&q=bash+script+send+email&btnG=Google+Search Learn what a bash script is and how to write one, first. Otherwise you're in for a major headache. On Tue, 2009-07-07 at 14:31 +0000, vamara coulibaly wrote: > Hi Gerald, > The problem is that i not very good in writting scripts. so what i > need (if possible) is a script wich can send fax by mail when i sent a > fax to an extensions, for example sending a fax to extensions 123 send > it to my mail box. > Please help me. > > Regards > > > From: [email protected] > > Subject: Callweaver-users Digest, Vol 28, Issue 4 > > To: [email protected] > > Date: Tue, 7 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. Re: setup fax2mail gateway (Gerald Cox) > > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Mon, 06 Jul 2009 04:21:36 -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 > > > > 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 > > > > > > End of Callweaver-users Digest, Vol 28, Issue 4 > > *********************************************** > > > ______________________________________________________________________ > Découvrez tout ce que Windows Live a à vous apporter ! > _______________________________________________ > 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
