Variable sip cid type

From FreeSWITCH Wiki
Jump to: navigation, search

sip_cid_type

Modify caller ID in SDP header. Can be set to none, default, pid, or rpid (default).

rpid=Remote-Party-ID header
pid=P-Asserted-Identity header
none=Caller ID will be in the SIP "From" Note: for gateways, this will not work. You will require caller-id-in-from=true in the gateway settings

Usage:

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

Or,

{sip_cid_type=rpid}sofia/default/user@example.com
i.e. Remote-Party-ID: "9094445555" <sip:9094445555@1.2.3.4>;party=calling;screen=yes;privacy=off

Or,

{sip_cid_type=pid}sofia/default/user@example.com
i.e. P-Asserted-Identity: "9094445555" <sip:9094445555@1.2.3.4>

Or,

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


See also:


Implemented By:

Module Name Source FileLast Revised
mod_sofiasofia.c 12427
mod_sofiasofia_glue.c 12427