Session variables

Last Updated : Apr 25, 2023 |

Variable

Description

Applicable For

%DIRECTION

Value can be:

  • INBOUND: For incoming messages

  • OUTBOUND: For outgoing messages from SBC

act on message

act on request

act on response

%ENTRY_POINT

Values can be:

  • PRE_ROUTING

  • POST_ROUTING

  • AFTER_NETWORK

    The AFTER_NETWORK variable value is valid only within server configuration and not within server flow.

act on message

act on request

act on response

%METHOD

Values can be:

  • INVITE

  • REGISTER

  • ACK

  • PRACK

  • BYE

  • CANCEL, and

  • etc

The method name can be any method either already part of standards or proprietary.

%METHOD

%IN_DIALOG

Values can be: TRUE or FALSE. This value indicates if the given message is a in-dialog message or a dialog creating message.

act on request

%RESP_CODE

Values can be from 100 to 600. This value represents a valid SIP response code.

act on response

%REQ_METHOD

Same as METHOD. But this value represents the method that the given response corresponds to.

act on response