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.

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.


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

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