<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
AJ,<br>
<br>
Banging my head other a similar problem here in US.<br>
<br>
What I know so far the callerid function produces the following
bitmap flag:<br>
<ol>
<li>CID Private Name</li>
<li>CID Private Number</li>
<li>CID Unknown Name</li>
<li>CID Unknown Number</li>
<li>CID Message Waiting</li>
<li>CID No Message Waiting</li>
</ol>
For example, Flag=3 means Private Name and Number.<br>
<br>
If a Number and / or a Name are blocked for whatever reason a Null
value is written to the respective returned parameter.<br>
<br>
What I do not know is how to analyze the flag in a dialplan.<br>
<br>
The problem with analyzing a Null value as you mentioned in your
message is with multiple source causes:<br>
<ul>
<li>CID recognition failure</li>
<li>CID unknown</li>
<li>CID blocked</li>
</ul>
-Vladimir<br>
<br>
<br>
<br>
On 10/11/2011 6:16 AM, A J Stiles wrote:
<blockquote
cite="mid:201110111216.18620.asterisk_list@earthshod.co.uk"
type="cite">
<pre wrap="">On a BT line, how do I determine whether the number on an incoming call has
been deliberately withheld (by dialling 141) or is merely unavailable (e.g.
because it originated from overseas or passed through some ancient switching
equipment) ?
In the first case, I want the caller to be played a message to the effect that
we are not at home to anonymous cowards but if their business is important,
they may redial without withholding their number. In the second case, the
call needs to be treated as legitimate since it is not really the caller's
fault that their number is not available.
Software is Asterisk 1.8.5.0 with DAHDI 2.4.1.2. Hardware is TDM410P with two
each FXO and FXS modules.
</pre>
</blockquote>
</body>
</html>