[asterisk-bugs] [Asterisk 0014218]: [patch] Not possible to disguise display name on calls to trunks even though user can be disguised

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 12 11:55:53 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14218 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   14218
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Target Version:             1.6.2
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-12 10:14 CST
Last Modified:              2009-01-12 11:55 CST
====================================================================== 
Summary:                    [patch] Not possible to disguise display name on
calls to trunks even though user can be disguised
Description: 
When calling from an extension on the asterisk PBX to a trunk the sip
display-name that is received in the invite from the extension is used as
the display-name in the invite sent to the ITSP.

For example:
 From: "John Smith" <sip:101 at mypbx>
is converted to:
 From: "John Smith" <sip:voipaccount at myitsp>
but it would be useful if it could be converted instead to:
 From: "My Corporation" <sip:voipaccount at myitsp>
so that outgoing calls do not reveal the caller name
====================================================================== 

---------------------------------------------------------------------- 
 (0097508) Nick_Lewis (reporter) - 2009-01-12 11:55
 http://bugs.digium.com/view.php?id=14218#c97508 
---------------------------------------------------------------------- 
I think fromname is set from n if it does not exist

I guess the same could be said of fromuser which is set from l which is
originally set to p->owner->cid.cid_num which could be set from the
CALLERID(num). However in this case fromuser does exist because it is
copied from peer->fromuser.

I accept that dialplan setting CALLERID(name) affects the From: header but
this seems inconsistent with CALLERID(num) which does not affect the From:
header if fromuser exists.

Currently p->fromname is doing nothing at all and if using the dialplan is
the way to go then lets remove the unnecessary code and pvt element. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-12 11:55 Nick_Lewis     Note Added: 0097508                          
======================================================================




More information about the asterisk-bugs mailing list