Sure... <br>I would&nbsp; do the following <br>1. Set qualify =yes<br>Bash Script (in a cron) that does<br>a. asterisk -rx &quot;sip show peers&quot; &gt; foo<br>b. grep UNREACHABLE foo | wc -l&nbsp; mime-construct if output of the grep &gt; 1
<br><br>hope this helps<br>rajeev<br><br><div><span class="gmail_quote">On 6/26/06, <b class="gmail_sendername">Roger Workman</b> &lt;<a href="mailto:roger@upperclassman.net">roger@upperclassman.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a way to get asterisk to send you a email when it looses or an extension doesn't re-register<br><br>Roger Workman<br>Business Development<br>Upperclassman/Universal Holdings LLC<br>Voice: 304.324.3800<br> Fax:&nbsp;&nbsp; 
304.324.3801<br>ICQ: 4447584<br>Website: <a href="http://www.upperclassman.net">http://www.upperclassman.net</a><br>Billing Questions: billing at <a href="http://upperclassman.net">upperclassman.net</a><br>Rental Questions: rentals at 
<a href="http://upperclassman.net">upperclassman.net</a><br>Maintenance: help at <a href="http://upperclassman.net">upperclassman.net</a><br><br><br><br>This e-mail and any of its attachments may contain sensitive information, which is privileged, confidential, or subject to copyright belonging to RW Management Inc, Universal Holdings LLC or Upperclassman LLC. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of or printout of this e-mail.
<br><br>-----Original Message-----<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com
</a>] On Behalf Of Eric &quot;ManxPower&quot; Wieling<br>Sent: Monday, June 26, 2006 1:10 PM<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [Asterisk-Users] '500 Internal Server' Error on SIP NOTIFY
<br><br>Yes.&nbsp;&nbsp;It does not seem to cause any problems.<br><br>Douglas Garstang wrote:<br>&gt; Is anyone getting '500 Internal Server' errors back from their Polycom phones when Asterisk sends a SIP NOTIFY message to them?<br>
&gt; I called Polycom tech support, who where utterly useless.<br>&gt; Of course Polycom won't officially support it anyway, as they only support Asterisk Business Edition. We're using 1.2.9, but it's been ocurring for quite some time. We have about 35 phones and it's happening on most (also on the few running SIP software 
1.6.6).<br>&gt;<br>&gt; SIP Software version: <a href="http://1.6.3.0067">1.6.3.0067</a><br>&gt; BootROM version: <a href="http://2.6.2.0032">2.6.2.0032</a><br>&gt;<br>&gt; Reliably Transmitting (no NAT) to xxx.187.128.95
:5060:<br>&gt; NOTIFY <a href="mailto:sip:2944030@ua1.ipt.oneeighty.com">sip:2944030@ua1.ipt.oneeighty.com</a> SIP/2.0<br>&gt; Via: SIP/2.0/UDP xxx.187.142.203:5060;branch=z9hG4bK4d777013;rport<br>&gt; From: &lt;<a href="mailto:sip:2944026@ua1.ipt.oneeighty.com">
sip:2944026@ua1.ipt.oneeighty.com</a>&gt;;tag=as6fd80d1b<br>&gt; To: &quot;Front Desk&quot; &lt;<a href="mailto:sip:2944030@ua1.ipt.oneeighty.com">sip:2944030@ua1.ipt.oneeighty.com</a>&gt;;tag=3B576862-120A3007<br>&gt; Contact: &lt;
<a href="mailto:sip:2944026@xxx.187.142.203">sip:2944026@xxx.187.142.203</a>&gt;<br>&gt; Call-ID: <a href="mailto:5d22385e-d097d068-93894e55@xxx.187.128.95">5d22385e-d097d068-93894e55@xxx.187.128.95</a><br>&gt; CSeq: 114 NOTIFY
<br>&gt; User-Agent: Asterisk PBX<br>&gt; Max-Forwards: 70<br>&gt; Event: presence<br>&gt; Content-Type: application/xpidf+xml<br>&gt; Subscription-State: active<br>&gt; Content-Length: 371<br>&gt;<br>&gt; &lt;?xml version=&quot;
1.0&quot;?&gt;<br>&gt; &lt;!DOCTYPE presence PUBLIC &quot;-//IETF//DTD RFCxxxx XPIDF 1.0//EN&quot; &quot;xpidf.dtd&quot;&gt;<br>&gt; &lt;presence&gt;<br>&gt; &lt;presentity uri=&quot;<a href="mailto:sip:2944030@ua1.ipt.oneeighty.com">
sip:2944030@ua1.ipt.oneeighty.com</a>;method=SUBSCRIBE&quot; /&gt;<br>&gt; &lt;atom id=&quot;2944026&quot;&gt;<br>&gt; &lt;address DEFANGED_uri=&quot;<a href="mailto:sip:2944026@ua1.ipt.oneeighty.com">sip:2944026@ua1.ipt.oneeighty.com
</a>;user=ip&quot; DEFANGED_priority=&quot;0.800000&quot;&gt;<br>&gt; &lt;status status=&quot;open&quot; /&gt;<br>&gt; &lt;msnsubstatus substatus=&quot;online&quot; /&gt;<br>&gt; &lt;/address&gt;<br>&gt; &lt;/atom&gt;<br>
&gt; &lt;/presence&gt;<br>&gt;<br>&gt;<br>&gt; &lt;-- SIP read from xxx.187.128.95:5060:<br>&gt; SIP/2.0 500 Internal Server Error<br>&gt; Via: SIP/2.0/UDP xxx.187.142.203:5060;branch=z9hG4bK4d777013;rport<br>&gt; From: &lt;
<a href="mailto:sip:2944026@ua1.ipt.oneeighty.com">sip:2944026@ua1.ipt.oneeighty.com</a>&gt;;tag=as6fd80d1b<br>&gt; To: &quot;Front Desk&quot; &lt;<a href="mailto:sip:2944030@ua1.ipt.oneeighty.com">sip:2944030@ua1.ipt.oneeighty.com
</a>&gt;;tag=3B576862-120A3007<br>&gt; CSeq: 114 NOTIFY<br>&gt; Call-ID: <a href="mailto:5d22385e-d097d068-93894e55@xxx.187.128.95">5d22385e-d097d068-93894e55@xxx.187.128.95</a><br>&gt; Contact: &lt;<a href="mailto:sip:2944030@xxx.187.128.95">
sip:2944030@xxx.187.128.95</a>&gt;<br>&gt; Event: presence<br>&gt; User-Agent: PolycomSoundPointIP-SPIP_601-UA/1.6.6.0036<br>&gt; Content-Length: 0<br>&gt;<br>&gt; Doug.<br>&gt; _______________________________________________
<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt; Asterisk-Users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt;<br><br><br>--<br>Now accepting new clients in Birmingham, Atlanta, Huntsville,<br>Chattanooga, and Montgomery.<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list
<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>