Summary:ASTERISK-05158: some remark for 0002471
Reporter:adomjan (adomjan)Labels:
Date Opened:2005-09-27 07:11:18Date Closed:2011-06-07 14:10:47
Versions:Frequency of
Environment:Attachments:( 0) sip-debug-allowed.txt
( 1) sip-debug-prohibited.txt
Description:The * should send clid when sendrpid = yes and callerid presentation is
prohobited such as on PRI.

from sip debug:
clid presentation allowed:
Remote-Party-ID: "THG520" <sip:0615800115@>;privacy=off;screen=yes

clid presentation prohibited:
Remote-Party-ID: "Unknown" <sip:asterisk@>;privacy=full;screen=no

Comments:By: Michael Jerris (mikej) 2005-09-27 09:00:12

Can you produce a patch to address this?

By: Brian West (bkw918) 2005-09-27 09:07:01

Actually shoudnl't the name and number still be sent and flaged as presentation witheld?  


By: adomjan (adomjan) 2005-09-27 09:58:59

I did not find where set the callerid to unknown.
I tried to modify the chan_sip.c near line 4635 without any success
      /* if user want's his callerid restricted */
       if ((p->callingpres & AST_PRES_RESTRICTION) != AST_PRES_ALLOWED) {
               l = CALLERID_UNKNOWN;
               n = l;

we should send the callerid if the peer is our another sip box or another service proveder. Should not if the peer is our customer in this case the old behavior is perfect.

By: Brian West (bkw918) 2005-09-27 13:40:40

Actually the rpid patch that was put in CVS is a bit off.. I spoke with kevin about it he said he would look at it :P


By: Brian West (bkw918) 2005-09-28 19:30:53


By: Kevin P. Fleming (kpfleming) 2005-09-28 22:45:25

This is not Asterisk's fault; your telco is not supplying the information for Asterisk to pass on (I don't think there is any place in Asterisk where we set the CNAM to "Unknown"). If you can show that your provider _is_ sending you the information marked as 'presentation prohibited', please ask that this bug be re-opened for analysis.

By: Kevin P. Fleming (kpfleming) 2005-09-28 23:15:55

Actually, this was happening in chan_sip, but I've fixed it in CVS HEAD.

By: Digium Subversion (svnbot) 2008-01-15 15:49:41.000-0600

Repository: asterisk
Revision: 6689

U   trunk/channels/chan_sip.c

r6689 | kpfleming | 2008-01-15 15:49:40 -0600 (Tue, 15 Jan 2008) | 2 lines

don't replace CLID/CNAM when RPID is being generated (issue ASTERISK-5158)