Skip to main content

sip_cid_type

Created by Ryan Harris, last modified on 2018.02.07

sip_cid_type

string Modify how the Caller ID will show up in SIP header of the outbound leg. privacy on the inbound leg controls the remaining contents of RPID and Privacy headers.

Usage

Send no extra caller id info (Caller ID will be in the SIP From):

(warning) this will not work for gateways. You must set caller-id-in-from=true in the gateway settings.

{sip_cid_type=none}sofia/default/user@example.com

Send Remote-Party-ID (default):

{sip_cid_type=rpid}sofia/default/user@example.com

Send P-Asserted-Identity:

(warning) you must set privacy flag, otherwise P-Preferred-Identity will be inserted instead of P-Asserted-Identity.

{sip_cid_type=pid}sofia/default/user@example.com

Send RPID with chosen content and privacy flags (+ delimited, none to clear all flags):

{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user@example.com

Send Remote-Party-ID with chosen content:

{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com