[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

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.


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

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