In a AGI script If nobody answer to the call I redirect the caller to a “voiceMail” . I use for that the request “RECORD FILE”.
When the caller finish what he have to say, he will of course hang up.
At this time I would like send a eMail whit the record file just create in attachement-file.
But I can’t do it because when the caller hang up, my AGI script stop.
Could you give me a solution to be able to send my mail ? (the mail adress is in DB mysql, so I can’t use the function voiceMail).