[Asterisk-Users] Sending e-mail from dialplan

Adam Menne amenne at mennelabs.com
Tue Dec 28 19:34:24 MST 2004


I would like help with a "dial plan" that will do the following: I feel
pretty good about each of the elements except; how to e-mail the
recorded file to an e-mail address.

 

Allow a caller to call into the system:

 

1.	Answer
2.	play a short pre defined greeting
3.	Allow caller to enter "PIN" during the Item #2 greeting

	a.	If the caller entered THE valid pin (1 system wide
pre-defined pin) the caller she experience:

                                                               i.
Be prompted to record a greeting (record action mandatory) defined as
the "message of the day"

                                                             ii.
Listen to recorded greeting for approval, option to re-record or option
to continue.

                                                            iii.
After continuing, the caller should have an option to send message to
the E-mail list as a .WAV attachment.

1.       The Email list will be a single address to a mail server for
distribution to member lists.

                                                            iv.
Thank the caller 

                                                              v.
Disconnect

	b.	If the caller does not enter a PIN in 15sec the caller
is played the Current time and Date, a recorded disclaimer, and "the
Message of the day", then is disconnected.

 

 

Also, while you're on the topic; what is the feasibility of allowing
someone to hit an "web" page and type in the message of the day and have
festival read it?  If that may work, I would send the e-mail from the
web page action and asterisk would not have to handle it.... But for
simplicity and end user ease over the phone would be better I think?

 

 

Thanks for all of your help,

AZM

The Labs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041228/d4754ba7/attachment.htm


More information about the asterisk-users mailing list