Re: [asterisk-users] Sending Email From the dialplan

2007-02-26 Thread Joanna Liza Mariazeta
Hi Al, We have different email contents and subject depending in the action that the customer had taken, since our service is a Prepaid card. What I did, was to use an AGI to have this flexibility. After getting the caller id and querying it in the DB, I will then construct the email that will

Re: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Ed Greenberg
Al Bochter wrote: I have looked around with no luck. Does anyone know of a way to send an email from the dialplan. The system that I am working on has none thing to do with VoiceMail. This is something like the SMS command but using sending email I am working on a prepaid alarm dispatch

RE: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Alexander Lopez
Exten = alarm,1,System(/usr/local/bin/sendalarm.sh|[EMAIL PROTECTED]) Or Exten = alarm,1,AGI(sendalarm) /usr/local/bin/sendalarm #!/bin/sh Mail -s Alarm condition on PBX $1 /dev/null -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf

Re: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Philipp Kempgen
Al Bochter wrote: Does anyone know of a way to send an email from the dialplan. Use System()/TrySystem() or AGI() to execute a script in whatever language you like. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems

Re: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Dovid B
- Original Message - From: Al Bochter [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Monday, February 26, 2007 4:20 AM Subject: [asterisk-users] Sending Email From the dialplan I have looked around with no luck. Does anyone know of a way to send an email from the

Re: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Dovid B
- Original Message - From: Al Bochter [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Monday, February 26, 2007 4:20 AM Subject: [asterisk-users] Sending Email From the dialplan I have looked around with no luck. Does anyone know of a way to send an email from the

Re: [asterisk-users] Sending Email From the dialplan

2007-02-25 Thread Rajeev Natarajan
I use mime-construct along with the System command - works great. On 2/26/07, Dovid B [EMAIL PROTECTED] wrote: - Original Message - From: Al Bochter [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Monday, February 26, 2007 4:20 AM Subject: [asterisk-users] Sending Email