I think he needs to start out with "Hello world!" before he can
cannabalize other scripts and get something that works.
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-2.html


On Tue, 2009-07-07 at 10:53 -0400, Steve Totaro wrote:
> If I were you, I would look into HylaFax, if not for a total solution,
> to cannibalize scripts to accomplish what you want.
> 
> Thanks,
> Steve T
> 
> On Tue, Jul 7, 2009 at 10:35 AM, Steve
> Totaro<[email protected]> wrote:
> > Probably pretty easy to find a script that monitors a directory and
> > then emails the contents to a recipient when a file exists....
> >
> > On Tue, Jul 7, 2009 at 10:31 AM, vamara coulibaly<[email protected]> 
> > 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
> >>
> >>
> >
> >
> >
> > --
> > Thanks,
> > Steve Totaro
> > +18887771888 (Toll Free)
> > +12409381212 (Cell)
> > +12024369784 (Skype)
> >
> 
> 
> 

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to