How to forward P-Asserted-Identity or add it based on From header of incoming INVITE
How to forward P-Asserted-Identity or add it based on From header of incoming INVITE
Please make sure that DB structure of Your "fields_definitions" table is same as in our /wiki/spaces/doc/pages/306872348
If you had to change the fields_definitions table You need to restart Voipswitch application.
- Open VSM3 -> Routing -> Routing plan -> edit desired prefix
- Go to advanced tab
Copy below setting and paste it in Advanced header modification test area.
P-Asserted-Identity:t[paid1] <sip:t[paid3]> OR <sip:t[paid3]> OR t[fm1] <sip:t[fm3]> OR <sip:t[fm3]>
- Save settings and test it.
Short explanation:
t[fm1] is basically display name from FROM header t[paid1] is display name from P-Asserted-Identity t[fm3] is SIP URI part from FROM header t[paid3] is SIP URI part from P-Asserted-Identity OR statement is used when some tokens are not created properly
For example incoming INVITE did not have P-Asserted-Identity header so paid1 and paid3 tokens will be not created it will jump into 3rd option and check if From has display name if not P-Asserted-Identity will be created based on From SIP URI.
, multiple selections available,
Related content
3.12.6 CLI - FROM header
3.12.6 CLI - FROM header
More like this
3.8.6 CLI - FROM header
3.8.6 CLI - FROM header
More like this
4.1 How to add gateway
4.1 How to add gateway
More like this
1.4 Routing
1.4 Routing
More like this
1.7.4 Routing plan
1.7.4 Routing plan
Read with this
1.5.4 CLI Map rule
1.5.4 CLI Map rule
More like this