[asterisk-users] Asterisk rewrites "From" header when CALLERID(num-pres)=prohib_passed_screen is set

effie mouzeli manji at realize.gr
Thu Jan 19 08:54:10 CST 2012


When the date was Thu Jan 19 2012 15:23:04, Kevin P. Fleming wrote:

> On 01/19/2012 05:56 AM, effie mouzeli wrote:
>> When the date was Thu Jan 19 2012 12:12:04, Stefan Schmidt wrote:
>> 
>>> Hello,
>>> 
>>> IMHO asterisk acts exactly as it should. How else do you think it should
>>> it prevent sending out the callerid name or num when you set it to prohib?
>>> 
>> 
>> This behaviour is new in 1.8, since in 1.6 it work differently (not forcing the "From" header to the default asterisk caller ID). Does the RFC say that a UAS must change the "From" header to secure privacy, even though there is a special header for privacy (or set privacy=full in Remote-Party-ID)?
>> 
>> In case asterisk is not functioning as a PBX but as intermediate proxy, how do we secure its interoperability with other systems? So the issue here is that we are unable to change/keep the "From" header when CALLERID(num-pres)=prohib_passed_screen is set.
> 
> Asterisk cannot act as a proxy, it is a B2BUA. If you want to make its behavior *appear* to be a proxy, there are a number of things you can do, but it will never just 'pass along' headers from an incoming INVITE to an outgoing INVITE.

This is understandable. On the other hand, I cannot understand why asterisk 
sets the "From" header to "asterisk", even if we explicitly 
set the CALLERID(name) and CALLERID(num).

-effie


More information about the asterisk-users mailing list