Brilliant!  `<span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">log the call and busy out` is the thing I was missing.</span><div><font face="Arial, Helvetica, sans-serif"><br></font></div><div><font face="Arial, Helvetica, sans-serif">thank you so much<br>

</font><div><font face="Arial, Helvetica, sans-serif"><br></font><div><br><div class="gmail_quote">On Thu, Feb 9, 2012 at 4:59 PM, Bryant Zimmerman <span dir="ltr">&lt;<a href="mailto:BryantZ@zktech.com">BryantZ@zktech.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">We designed our solution the following way.<br>
<br>
We have several land line numbers hooked to an asterisk testing server.<br>
The testing server places one call every X seconds per line to a number we want to test . We cycle through each number in our testing pool. Each  number on average is tested once every 30 min this can be adjusted by the dial rate and the number of test lines in the outbound calling pool.  When a call comes from one of our test numbers our inbound dial plans log the call and busy&#39;s out. So the test call is not answered and no call charge is assessed per carrier.  To verify that a test succeeded the testing server checks the database after it gets a busy.  By design if a call comes in it is checked before any line counts are tested so this method never effects the customers line counts.   We also have a full audio/dtmf test that is run once a day per number. This means that the first test call of the day is actually answered and a DTMF and audio hand shake is done.  Both ends log the result in a database. <br>


<br>
We catch vendor issues with these methods and it allows us to open tickets and resolve issues before a customer knows there might be an issue. Our vendors hate the system as we tend to catch any hiccup they may be having as well. Several of them are mistified how we can open tickets on issues consistently before they know they have an issue. <br>


<div>Bryant</div>
<br>
<br>
<span style="font-family:tahoma,arial,sans-serif;font-size:10pt"><hr width="100%" size="2" align="center">
<b>From</b>: &quot;Aurimas Skirgaila&quot; &lt;<a href="mailto:a.skirgaila@gmail.com" target="_blank">a.skirgaila@gmail.com</a>&gt;<br>
<b>Sent</b>: Thursday, February 09, 2012 9:34 AM<br>
<b>To</b>: &quot;Asterisk Users Mailing List - Non-Commercial Discussion&quot; &lt;<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;<div class="im"><br>
<b>Subject</b>: [asterisk-users] checking if a phone number is UP</div></span><div class="im"><br>
<br>
hi,<br>
<div class="gmail_quote">
<div><br>
</div>
<div>We have a phone number from third party provider which is used for inbound calls. How could I monitor if this <span style="text-decoration:underline">phone number</span> is reachable?</div>
<div><br>
</div>
<div>the initial idea doesn&#39;t sound elegant: </div>
<div>- on my SIP server I set couple seconds of ringing before Answer().</div>
<div>- the monitoring server calls to that phone number for few seconds, checks if it &quot;hears&quot; the ringing and hangs up the call.<br>
<div>
<br>
</div>
<div>**</div>
<div>I use Nagios to check if my services are UP using check_sip, but it this situation I&#39;m more concerned about my DID provider than my server. It&#39;s just like pinging a phone number.</div>
<div>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Aurimas</div>
</div>
</div>
<br></div></span>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mvh,<br>Aurimas Skirgaila<br>


</div></div></div>