You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > SwitchBackFromStandby
Type
SwitchKit API message
Description
Use the SK_SwitchBackFromStandby message to initiate a switchback from a standby line card to the primary one. This message can only be sent if the action field of the message SK_SwitchBackFromStandbyConfig is set to 1 during configuration.
Sent by
Application or Converged Services Administrator (CSA).
Arguments
The following table shows the arguments that you can modify:
Argument |
Description |
---|---|
Action |
This field can be set to: • 0 = graceful switchback after LLC determines that the standby card is not handling any calls. • 1 = forced switchback immediately. |
Node |
Specifies the node where the switchback is supposed to happen. |
StandbySlot |
Specifies the standby slot of the redundant card. |
C Structure
typedef struct {
UBYTE StandbySlot;
UBYTE Action;
} SK_SwitchBackFromStandby;
C Structure Response
typedef struct {
int Status;
} SK_SwitchBackFromStandbyAck;
C++ Class
class SKC_SwitchBackFromStandby : public SKC_ToolkitMessage {
public:
UBYTE getStandbySlot() const;
void setStandbySlot(UBYTE x);
UBYTE getAction() const;
void setAction(UBYTE x);
};
C++ Class Response
class SKC_SwitchBackFromStandbyAck : public SKC_ToolkitAck {
public:
int getStatus() const;
void setStatus(int x);
};