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
):
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
:
P-Asserted-Identity
is only set if you do not set origination_privacy. If you do set it, it will send P-Preferred-Identity
and 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