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
______________________________________________________

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to