Call Parameter Syntax
The following table describes the syntax used for Call parameters in the Message Manipulations table.
Call Parameter Syntax
|
Subject |
Description |
|---|---|
|
param.call.<src/dst>.user |
Defines the source or destination user part during run‑time. |
|
param.call.<src/dst>.nat |
Enables manipulation of a SIP message depending on whether (=='true') or not (=='false') the source or destination of the message is located behind NAT. You can use the keywords in the 'Condition' or 'Action Value' parameters in the Message Manipulations table. Message Manipulation rules using the keywords are applicable only to message manipulation on the outbound leg (i.e., the rules can only be assigned to the 'Outbound Message Manipulation Set' parameter in the IP Groups table). |
|
param.call.siptrmreason == <SIP response or message> |
Defines the call termination reason. This allows the device to run a Call Setup Rule based on how a call ended. For example, a Call Setup Rule can be triggered to notify a server when a call fails because of a SIP 503 (Service Unavailable) response, or when a call ends normally (SIP BYE message). Note: This parameter can only be used in Call Setup Rules. |
Examples:
| ■ | Call Setup Rules: |
|
Condition |
Action |
Action Type |
Action |
Description |
|---|---|---|---|---|
|
param.call.siptrmreason == 'BYE' |
var.session.status |
Modify |
'A0151' |
If the call termination reason is a SIP BYE message, set the value of the Session Status variable to "A0151". |
| ■ | Message Manipulations: |
|
Message |
Condition |
Action |
Action Type |
Action |
Description |
|---|---|---|---|---|---|
|
subscribe. |
|
header.to.param.user |
Add |
param.call.src.user |
For SUBSCRIBE messages, add the parameter "user" to the To header and set its value to the source user part. |