[asterisk-users] pjsip vs chan_sip: Where is callerid(num) taken from?

Benoit Panizzon benoit.panizzon at imp.ch
Tue Apr 16 06:54:03 CDT 2019


Ok, just figured it out, looks like pjsip uses some reversed trust
logic...

PAI contains the network provided screened number, the one which can be
trusted and used for billing purposes and similar.

From contains the generic number, which should be displayed, but which
is user provided and therefore not very trustworthy.

So of course I want to trust the PAI (billing etc) and Display the From:
header on the called phone.

trust_id_inbound=yes

But this causes the PAI Number to be filled in callerID(number)
switching to 'no' causes the From Number, to be filled in
callerID(number).

Very odd!

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