12. Diameter Functions

The functions described below are usedĀ for setting the value of the Diameter AVP Origin-State-Id. The Diameter Stack agent has a corresponding MIM value named Origin State Id MIM value. For further information about the MIM values, see 9.17.3.2 Diameter Stack Agent Input/Output Data and MIM in theĀ Desktop User's Guide.

diameterSetOriginStateId

The diameterSetOriginStateId function sets the value for the Origin State Id. This can be called in the initialize block to replace the default initialization value.

diameterSetOriginStateId
( string DiameterStackName, 
  int newValue )
ParameterDescription

DiameterStackName

The name of the Diameter Stack agent for which you want to set the Origin State Id.

newValue

The new value that you want to set instead of the default initialization value.

diameterIncrementOriginStateId

The diameterIncrementOriginStateId function increments the value for the Origin State Id.

diameterIncrementOriginStateId
( string DiameterStackName )
ParameterDescription

DiameterStackName

The name of the Diameter Stack agent for which you want the Origin State Id to be incremented.

diameterGetOriginStateId

The diameterGetOriginStateID function gives the same value as accessing the MIM value.

diameterGetOriginStateId
( string DiameterStackName )
ParameterDescription

DiameterStackName

The name of the Diameter Stack agent for which you want to get the Origin State Id.