<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Do some R & D with asterisk
function AMD (Answering Machine Detection) if that can help you.</font></font><br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Signatures <a class="moz-txt-link-abbreviated" href="mailto:faisal@vopium.com">faisal@vopium.com</a></title>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;">Regards,<o:p></o:p></span></small></small></small></small></small></small></small></small></p>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;"><o:p></o:p>Faisal
Hanif<br>
</span></small></small></small></small></small></small></small></small><br>
</p>
</div>
On 7/9/2010 11:24 PM, Danny Nicholas wrote:
<blockquote cite="mid:201007091808.o69I83f8013895@mail.debsinc.com"
type="cite">
<pre wrap="">
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Steve Edwards
Sent: Friday, July 09, 2010 12:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] False answer() being sent by cellphone
providers
On Fri, 9 Jul 2010, Mike Ely wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I've set up an outbound alerting system to play a recording when systems
</pre>
</blockquote>
</blockquote>
<pre wrap="">go
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">down, etc. and I'm noticing that cellphones tend to answer() and then
</pre>
</blockquote>
</blockquote>
<pre wrap="">start
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">ringing the actual handset. So far, I've verified this behavior with
Verizon, T-Mobile, and Google Voice (the last produces a SERIOUS delta
between bogus answer and actual answer).
Has anyone figured out how to detect the actual cellphone answer rather
</pre>
</blockquote>
</blockquote>
<pre wrap="">than
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">the bogus one sent by the cell carrier? In the short term, I just have
</pre>
</blockquote>
</blockquote>
<pre wrap="">the
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">call play MOH for ten seconds before announcing that all hell has broken
loose in the server room, but it¹d be nice to have something a bit more
accurate and reliable.
</pre>
</blockquote>
</blockquote>
<pre wrap="">
How about a loop with "Please press pound to continue?"
--
It is a DAHDI "function" that you may or may not get a reliable
"notification" of answer. The best thing to do is to MOH for 7 seconds,
then play a message "this is a message from the computer room; press 1 to
accept". This lets you not waste time on a "not real" answer. Here is a
"cliff-note" context:
[accept]
exten => s,1,Answer
exten => s,n,WaitExten(7)
exten => s,n,Background(important)
exten => s,n,WaitExten(5,m)
exten => 1,1,backgrounf(message)
exten => 1,n,hangup
exten => t,1,hangup
exten => i,1,hangup
exten => *,1,hangup
</pre>
</blockquote>
</body>
</html>