Release Reasons

Release Reasons

The N2IWF can be configured to provide specific SIP codes and/or reasons when releasing calls.

The available values are defined in the REASONS LogicApp service global variable.

<global name="REASONS" type="array">
  <reason name="simple" code="631"/>
  <reason name="complex" protocol="Q.850" cause="1" text="Call Declined"/>
</global>

Configuration Details

Each reason definition may contain the following parameters:

Attribute Type Description
name String [Required] The name of this reason definition, as referenced in action rules with the release action.
code Integer The SIP status code to use.
(Default: 603)
protocol String The reason protocol to use, as per RFC 3326. Must be either SIP or Q.850.
(Default: SIP)
cause Integer The reason cause number to use. If protocol or text are specified, cause must also be defined.
text String The reason text to use.

Note that the behaviour of these parameters differs slightly depending on whether a call has been established or not, i.e. the release happens at initial interrogation or during an interim interrogation of the OCS.