EasyManua.ls Logo

AudioCodes Mediant 600 - P-Called-Party-ID

AudioCodes Mediant 600
844 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Version 6.4 797 March 2012
SIP User's Manual C. SIP Message Manipulation Syntax
Below are header manipulation examples:
Example 1 Rule:
Add a P-Associated-Uri header to all INVITE response messages:
MessageManipulations 5 = 1, register.response,
,header.P-Associated-URI, 0,
'<sip:admin@10.132.10.108>', 0;
Result:
P-Associated-URI:<sip:admin@10.132.10.108>
Example 2 Rule:
Modify the user portion of the URL in the header to 'alice':
MessageManipulations 5 = 1, register.response,
,header.P-Associated-URI.url.user, 2, 'alice', 0;
Result:
P-Associated-URI:<sip:alice@10.132.10.108>
C.2.14 P-Called-Party-Id
An example of the header is shown below:
P-Called-Party-ID: <sip:2000@gw.itsp.com>
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes Yes N/A
Keyword Sub Types Attributes
Name String Read/Write
URL URL Structure (see 'URL'
on page 815)
Read/Write
Below are header manipulation examples:
Example 1 Rule:
Add a P-Called-Party-Id header to all messages:
MessageManipulations 8 = 1, any, , header.p-called-
party-id, 0, 'sip:2000@MSBG.ITSP.COM', 0;
Result:
P-Called-Party-ID: <sip:2000@gw.itsp.com>
Example 2 Rule:
Append a parameter (p1) to all P-Called-Party-Id headers:
MessageManipulations 9 = 1, invite, , header.p-called-
party-id.param.p1, 0, 'red', 0;
Result:
P-Called-Party-ID: <sip:2000@gw.itsp.com>;p1=red
Example 3 Rule:
Add a display name to the P-Called-Party-Id header:
MessageManipulations 3 = 1, any, , header.p-called-
party-id.name, 2, 'Secretary', 0;
Result:
P-Called-Party-ID: Secretary
<sip:2000@gw.itsp.com>;p1=red

Table of Contents

Other manuals for AudioCodes Mediant 600

Related product manuals