Logo Search packages:      
Sourcecode: capisuite version File versions  Download package

void Connection::info_ind_alerting ( _cmsg &  message  )  throw (CapiError,CapiWrongState) [protected]

called when we get INFO_IND from CAPI with Info number saying it's ALERTING

This method will call CallInterface::alerting().

message the received INFO_IND message
CapiError Thrown when an invalid message is received
CapiWrongState Thrown when the message is received unexpected (i.e. in a wrong plci_state)

Definition at line 576 of file connection.cpp.

References CallInterface::alerting(), call_if, capi, error, Capi::info_resp(), P01, P1, plci, plci_state, and prefix().

      if (plci_state!=P01 && plci_state!=P1)
            throw CapiWrongState("INFO_IND for ALERTING received in wrong state","Connection::info_ind_alerting()");

      if (plci!=INFO_IND_PLCI(&message))
            throw CapiError("INFO_IND received with wrong PLCI","Connection::info_ind_alerting()");

      try {
      catch (CapiMsgError e) {
            error << prefix() << "WARNING: Can't send info_resp. Message was: " << e << endl;

      if (call_if)

Generated by  Doxygen 1.6.0   Back to index