How to add something to the CLID?
Hi folks,
I am trying to add something to Remote-Party-ID, e.g. the original message is
Remote-Party-ID: "Test Device1" <sip:8471@192.168.100.10>;party=calling;id-type=subscriber;privacy=off;screen=yes
So the called party would see "Test Device1" when getting the call.
How can I add "Company:" in front of "Test Device1", so that the called party would see "Company: Test Device1"?
sip-manipulation
name test_in_manip
description
split-headers
join-headers
header-rule | ||
name | RPIDDisplayName | |
header-name | Remote-Party-ID | |
action | manipulate | |
comparison-type | pattern-rule | |
msg-type | request | |
methods | INVITE | |
match-value | ||
new-value | ||
element-rule | ||
name | Add_Display_Name | |
parameter-name | ||
type | uri-display | |
action | replace | |
match-val-type | any | |
comparison-type | pattern-rule | |
match-value | ^(")(.*) | |
new-value | $1+"COMPANY:"+$2 |