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 Diameter Stack Agent Input/Output Data and MIM in the Desktop User's Guide.
The following functions for Diameter described here are:
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 )
Parameter | Description |
---|---|
| The name of the Diameter Stack agent for which you want to set the Origin State Id. |
| 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 )
Parameter | Description |
---|---|
| 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 )
Parameter | Description |
---|---|
| The name of the Diameter Stack agent for which you want to get the Origin State Id. |