Sendmail When No Response

Home » Asterisk Users » Sendmail When No Response
Asterisk Users 1 Comment

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’

when i launch the CLI i found :

You have new mail in /var/spool/mail/root

i check the root and i found :

Received: (from root@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
Message-Id: <201306051103.r55B3Deh023821@localhost.localdomain>
To: failed, Subject: Call

test Email


One thought on - Sendmail When No Response

  • Your problem looks more like an MTA configuration problem. You need at least a valid relay host.