[asterisk-bugs] [Asterisk 0010168]: CLIR doesn't work on outgoing SIP calls

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 30 10:00:53 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10168 
====================================================================== 
Reported By:                workaholiker
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10168
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             07-10-2007 03:48 CDT
Last Modified:              07-30-2007 10:00 CDT
====================================================================== 
Summary:                    CLIR doesn't work on outgoing SIP calls
Description: 
Asterisk seems not to set privacy header correctly, causing SIP provider to
transmit CallerID 

two cases:

case1

dialplan:

exten => _X.,1,Set(CALLERID(name)=anonymous)
exten => _X.,2,Set(CALLERID(num)=anonymous)
exten => _X.,3,SetCallerPres(prohib); i've used others/without too...
exten => _X.,4,Dial(SIP/${EXTEN}@1und1)

resulting header:

<--- SIP read from 212.227.15.231:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 80.136.181.7:5061;branch=z9hG4bK40adbcec;rport=5061
From: "Unknown" <sip:XXXXXX at 1und1.de>;tag=as2d98d8e7
To: <sip:YYYYYYY at sip.1und1.de>;tag=329cfeaa6ded039da25ff8cbb8668bd2.025e
Call-ID: 740943c709a1085c0dd40462064cd742 at 1und1.de
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="1und1.de",
nonce="4693416fbe73afb8ecbcfd81f3190b54e05e10b7"
Server: UI OpenSer
Content-Length: 0
________________________________________________

case 2

trying to initiate call using callfile:

Channel: SIP/1und1/YYYYYYY
CallerId:Anonymous<anonymous>
Extension: 1234
Context:incoming


result:

<--- SIP read from 212.227.15.197:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 80.136.181.7:5061;branch=z9hG4bK5288a240;rport=5061
From: "Anonymous" <sip:XXXXXXX at 1und1.de>;tag=as611a8eca
To: <sip:YYYYYY at sip.1und1.de>;tag=329cfeaa6ded039da25ff8cbb8668bd2.d701
Call-ID: 65b4ba286396ae234126b782754b28f5 at 1und1.de
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="1und1.de",
nonce="4693437818d29c8812d358ba498324004732f74b"
Server: UI OpenSer
Content-Length: 0

header is set correctly "From: "Anonymous"
<sip:XXXXXXX at 1und1.de>;tag=as611a8eca" and the calling number is not
presented.

====================================================================== 

---------------------------------------------------------------------- 
 file - 07-30-07 10:00  
---------------------------------------------------------------------- 
I'm suspending this bug since it's been quite some time and I strongly
believe it is a configuration related issue. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 10:00  file           Status                   feedback => resolved
07-30-07 10:00  file           Resolution               open => suspended   
07-30-07 10:00  file           Assigned To               => file            
07-30-07 10:00  file           Note Added: 0068052                          
======================================================================




More information about the asterisk-bugs mailing list