Thomas Perron schrieb: > I am reading a lot of the material but need your input to help me > understand what you mean. > > System(echo body of message | mail -s "subject line" > ${the_caller_...@tmobile.net) > > I understand the System application generally > echo body of message .................?
Please read the man page of the `echo` command. man echo ( http://unixhelp.ed.ac.uk/CGI/man-cgi?echo ) > mail -s --------------what does this do please? > "subject line" .................comes from where? man mail ( http://unixhelp.ed.ac.uk/CGI/man-cgi?mail ) > ${the_caller_...@tmobile.net) ............i understand this part. > On Sun, Dec 6, 2009 at 2:40 AM, Tzafrir Cohen <tzafrir.co...@xorcom.com> > wrote: >> On Sat, Dec 05, 2009 at 08:25:33PM -0500, Thomas Perron wrote: >> >>> And, then send an email to the party. Example.... >>> >>> 3035551...@tmobile.net >>> >>> Summary >>> 1. Capture the CID number. >>> 2. Prepend his number to his service provider SMTP address >>> 3. Email it to his phone >> >> >> System(echo body of message | mail -s "subject line" >> ${the_caller_...@tmobile.net) >> >> Note the usage of '|' here. IIRC it needs to be escaped on Asterisk >> 1.4.x and below. >> >>> >>> I assume I need to install SendMail and play around with CID stuff. >> >> Sendmail, postfix, exim, qmail - any program that provides a local >> sendmail interface. >> >> I personally prefer postfix. Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de -- _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users