[asterisk-users] sendmail when no response
Salaheddine Elharit
salah.elharit200 at gmail.com
Wed Jun 5 05:31:06 CDT 2013
hello list,
i need your help please regarding send mail i use astreisk 1.4;
i try to send mail when no response like below
exten => 5xx,1,Dial(SIP/223, 10)
exten => 5xx,n,system(echo test ${DNIS} Email| mail -s 'Call failed'
myadresseemail at gmail.com)
when i launch the CLI i found :
You have new mail in /var/spool/mail/root
i check the root and i found :
Return-Path: <root>
Received: (from root at localhost)
by localhost.localdomain (8.13.1/8.13.1/Submit) id r55B3Deh023821;
Wed, 5 Jun 2013 11:03:13 GMT
Date: Wed, 5 Jun 2013 11:03:13 GMT
From: root <root>
Message-Id: <201306051103.r55B3Deh023821 at localhost.localdomain>
To: failed, myadresseemail at gmail.com
Subject: Call
test Email
--r55B3Dei023821.1370430193/localhost.localdomain--
could you please tell me how to do in order to send email to my address
gmail for example
thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130605/c22af986/attachment.htm>
More information about the asterisk-users
mailing list