You can delete user variables or the values of some SIS-defined variables in an interceptor script block, the same way you can for a composition script block — by using the <delete> element.

Tip
Deleting IN Signaling Parameters

If the values of any IN signaling parameters are changed in a <service-input-interceptor> block, these changes apply to the current composition service only. They do not carry forward to subsequent service invocations, unless the response from the composition service demands it (for example, if the service response is a function of a modified input parameter).
This behaviour does not apply to SIP.

Example

This example shows a composition that invokes a service, after deleting the orig parameter from the Route header’s URI:

<script>
  <invoke service="Prepay">
    <service-input-interceptor>
      <delete variable="${route.uri.param.orig}"/>
    </service-input-interceptor>
  </invoke>
</script>
Previous page Next page