[Freeswitch-users] Privacy headers selection

Maciej Bylica mbgatherer at gmail.com
Thu Jun 13 13:36:10 UTC 2019


I am running Freeswitch Version 1.6.20+git~20180507T185611Z~43a9feb7f8~64bit
The goal i want to achieve is to send only PAI + Privacy headers to my
traffic terminator.

The problem i have to deal with is that in some circumstances PPI header is
send instead.
My configuration is:

<action application="set" data="origination_privacy=screen"/>
<action application="bridge"

The issue is when incoming INVITE has RPID with screen=no. when FS send PPI
out instead of PAI.
- Remote-Party-ID: "49111223344" <sip:49111223344 at a1.b1.c1.d1

- Privacy: none
- P-Preferred-Identity: <sip:49111223344 at a1.b2.c2.d2>

What can i do to achieve my goal?
Do i need to tune my configuration?

It is said https://freeswitch.org/confluence/display/FREESWITCH/sip_cid_type
"you must set privacy flag, otherwise P-Preferred-Identity will be inserted
instead of P-Asserted-Identity.", but as you see origination_privacy flag
is set to screen.

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190613/dd5c5bcd/attachment.html>

More information about the FreeSWITCH-users mailing list