[asterisk-users] bug in pjsip trust_id_outpound?

Benoit Panizzon benoit.panizzon at imp.ch
Tue Nov 26 02:08:41 CST 2019


Hi Gang

If anyone else stumbles over the same Problem.

This is how I solved it for now:

On the IC Trunk:

trust_id_inbound=no => Makes sure the CallerID is taken from the From Header.
trust_id_outbound=yes => Does nothing useful, maybe a bug?
send_pai=no

On the incoming call, you have to pull the Privacy: header to figure
out the callerid presentation as asterisk is not setting this value if
you don't trust id inbound.

If the call is destined to a customer, you set CALLERPRES()=prohib
which makes sure, the From header is anonymized towards the customer.

If the call is destined to an IC, you have then to manually
PJSIP_HEADER(add) a P-Assertied-Identity and a Privacy Header correctly
setting the calling presentation. Asterisk is NOT doing this correctly.

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________



More information about the asterisk-users mailing list