To
get or set the Online Charging Interaction mode for a composition,
use the following sis-console
commands, Ant task, or related MBean operations.
This is a SIS feature for IN. |
Console commands
getOnlineChargingInteraction
Command |
getonlinecharginginteraction <ra-entity> <composition-id> Get the online charging interaction mode for a composition |
---|---|
Example |
To determine the current online charging interaction mode for the composition with identifier $ ./sis-console getonlinecharginginteraction sis name=4000,vendor=OpenCloud,version=1.0 Online charging interaction mode for CompositionID[name=4000,vendor=OpenCloud,version=1.0] is OnlineChargingInteraction[mode=static-service-priorities] |
setOnlineChargingInteraction
Command |
setonlinecharginginteraction <ra-entity> <composition-id> <mode> [<service-alias>] Set the online charging interaction mode for a composition. Mode must be 'static-service-priorities' or 'nominated-service'. The service-alias argument is required if the 'nominated-service' mode is selected. |
||
---|---|---|---|
Example |
To set the online charging interaction mode for the composition with identifier $ ./sis-console setonlinecharginginteraction sis name=4000,vendor=OpenCloud,version=1.0 nominated-service SERVICE1 Online charging interaction mode for CompositionID[name=4000,vendor=OpenCloud,version=1.0] set to OnlineChargingInteraction[mode=nominated-service,nominated-service-alias=SERVICE1]
|
Ant task
updateincomposition
Task |
<updateincomposition> <composition name="..." vendor="..." version="..."/> <onlineChargingInteraction mode="..." serviceref="..."/> </updateincomposition> |
---|---|
Example |
To set the online charging interaction mode for the composition with identifier <sis-in-management> <updateincomposition> <composition name="4000" vendor="OpenCloud" version="1.0"/> <onlineChargingInteraction mode="nominated-service" serviceref="SERVICE1"/> </updateincomposition> </sis-in-management> |
MBean operations
MBean |
---|
getOnlineChargingInteraction
Operation |
public OnlineChargingInteraction getOnlineChargingInteraction(CompositionID id) throws NullPointerException, UnrecognizedComponentException, ManagementException; |
---|
setOnlineChargingInteraction
Operation |
public void setOnlineChargingInteraction(CompositionID id, OnlineChargingInteraction interaction) throws NullPointerException, UnrecognizedComponentException, InvalidArgumentException, ManagementException; |
---|