<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">Is it possible to detect the failure of an agent to register with Asterisk via the AMI ?</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">When I try to register with Asterisk 1.4 using an invalid password I don't see any event in the AMI, but see this in the messages log:</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr">[2013-10-05 22:05:03] NOTICE[24598] chan_sip.c: Registration from '"test"<sip:230@asterisk.com>' failed for '192.168.0.1' - Wrong password</div>
<div dir="ltr"><font face="times new roman"></font> </div>
<div dir="ltr"><font face="times new roman">Thanks</font></div>
<div dir="ltr"><font face="times new roman"></font> </div>
</body>
</html>