The conditional expressions included in SIS macros, triggers, and compositions may use any of the following variable names to reference parameters of request events or other values computed during the course of call processing.
Request variables
All requests contain these variables.
method
Description |
The SIP method of the request. |
---|---|
Valid values |
Any SIP method name, for example INVITE or REGISTER. |
Type |
String |
Assignable? |
NO |
uri
Description |
The Request-URI of the request. |
---|---|
Valid values |
A valid SIP or TEL URI. |
Type |
String |
Assignable? |
YES |
<header-name>
Description |
Any header name may be used as a variable, for example, |
---|---|
Valid values |
A valid SIP header (according to the header’s syntax). |
Type |
String |
Assignable? |
YES |
Header variables
Header variables may contain the following attributes. For example, route.uri
will return the URI in the Route
header. The property from.param.tag
will return the tag parameter in the From
header.
<header-name>.uri
Description |
If the header is an address header, then this evaluates to the URI of the header’s address. Examples of address headers are |
---|---|
Valid values |
A valid SIP or TEL URI. |
Type |
String |
Assignable? |
YES |
<header-name>.display-name
Description |
If the header is an address header, then this evaluates to the display-name of the header’s address. |
---|---|
Valid values |
Any string. |
Type |
String |
Assignable? |
NO |
URI variables
All URI variables may contain the following attributes. For example, uri.host
will return the host part of the Request-URI. To extract the user part of the To
header, the property used would be to.uri.user
.
uri.scheme
Description |
The URI scheme. |
---|---|
Valid values |
Possible values are |
Type |
String |
Assignable? |
NO |
uri.user
Description |
For SIP URIs, the user part of the URI. For Tel URLs this is undefined. |
---|---|
Valid values |
A valid SIP user name. |
Type |
String |
Assignable? |
YES |
uri.host
Description |
For SIP URIs, the host part of the URI. For Tel URLs this is undefined. |
---|---|
Valid values |
A host name or IP address. |
Type |
String |
Assignable? |
NO |
uri.port
Description |
For SIP URIs, the port number of the URI. If the URI does not specify a port, the default values are |
---|---|
Valid values |
A valid SIP port number. |
Type |
Integer |
Assignable? |
YES |
uri.tel
Description |
For Tel URLs, this is the phone number with visual separators removed. For SIP URIs, this is the value of the user part only if the parameter |
---|---|
Valid values |
A valid RFC2806 phone number. |
Type |
String |
Assignable? |
YES |