[asterisk-bugs] [Asterisk 0012418]: PrivacyManager not detecting anonymous SIP calls

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 11 12:35:37 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12418 
====================================================================== 
Reported By:                Jaap Winius
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12418
Category:                   Applications/app_privacy
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             04-10-2008 20:04 CDT
Last Modified:              04-11-2008 12:35 CDT
====================================================================== 
Summary:                    PrivacyManager not detecting anonymous SIP calls
Description: 
PrivacyManager is not detecting anonymous calls that come in on the SIP
channel. Whenever anonymous calls come in on this channel, the CLI message
"CallerID Present: Skipping" shows up and and my SIP phone simply rings
anyway.

I'm reporting this as a bug because I suspect that the cause is due to the
fact that when there is no CID, the results are not always the same. For
example, I see in my CDR database that when anonymous calls come in via the
SIP channel, the clid field shows:

                 "Anonymous" <anonymous>

However, when anonymous calls came in though my old ISDN line (which I
can't test anymore because it no longer exists), the clid field would
show:

                 CID withheld

Although I'm not sure, I suspect that PrivacyManager may recognize the
latter format, but not the former.
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 04-11-08 12:35  
---------------------------------------------------------------------- 
This is working as intended.

The "problem" is that the provider is adding a Caller ID number (of
"anonymous"), thus avoiding the check in app_privacy.  If you don't want
this behavior, you can check in the dialplan if the CID number is
"anonymous" and set it to be empty before calling app_privacy. 
Alternatively, you could ask the provider to stop setting the Caller ID
before sending the call to you. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-11-08 12:35  qwell          Note Added: 0085362                          
======================================================================




More information about the asterisk-bugs mailing list