thanks.
Ill give that a go.

Steve Edwards <[email protected]> wrote:


On Wed, 20 Oct 2010, Dan Journo wrote:

> I want to set up a warning so that after a Dial cmd, if the DIALSTATUS is 
> CHANUNAVAIL, Asterisk sends an email to the
> admin to check the voip phone is connected properly.
>
> I've got the dial plan set up, I just dont know what command to use to send 
> the email.

Off the top of my head...

exten = *,n,system(echo Call to ${DNIS} failed | mail -s 'Call failed' 
r...@localhost)

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to