[Asterisk-Users] Execute commands after phone hangs up

Michiel van Baak michiel at vanbaak.info
Sun May 1 14:22:57 MST 2005


On 00:17, Mon 02 May 05, Shady wrote:
> The easiest way is to use the "g" parameter of the Dial application. Then 
> in the next priority you may use the System application to execute an 
> external mail command.
> 
> 
> ----- Original Message ----- 
> From: "Chuck Smith" <djdzam at gmail.com>
> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
> <asterisk-users at lists.digium.com>
> Sent: Monday, May 02, 2005 12:11 AM
> Subject: [Asterisk-Users] Execute commands after phone hangs up
> 
> 
> >Here is a good one.
> >
> >
> >If I wanted to record a call when it comes into a particular extension, 
> >then
> >e-mail the wav file to a particular email address what would I do? I know
> >how to initiate the recording but I don't know how to initiate the e-mail
> >after the call is complete. I can initiate a call before the call is
> >complete but not after.
> >
> >Thanks in advance.
> >
> >Chuck
> >

Or you can use exten => h,1,System in that particular
extension
-- 
Michiel van Baak
http://lunteren.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Two of the most famous products of Berkeley are LSD and BSD. I don't think that this is a coincidence."




More information about the asterisk-users mailing list