[Asterisk-bugs] [Asterisk 0010168]: CLIR doesn't work on outgoing SIP calls
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Jul 10 08:07:13 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10168
======================================================================
Reported By: workaholiker
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10168
Category: Channels/chan_sip/General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
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:
======================================================================
Date Submitted: 07-10-2007 03:48 CDT
Last Modified: 07-10-2007 08:07 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-10-07 08:07
----------------------------------------------------------------------
Because the caller presentation overrides setting caller ID name and
number, it gets set to Anonymous. In your case, however, the number can't
be set to that because fromuser overrides it in order to work with your
provider. As far as I can tell this is working fine.
Issue History
Date Modified Username Field Change
======================================================================
07-10-07 08:07 file Note Added: 0067047
======================================================================
More information about the Asterisk-bugs
mailing list