MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / sipIsFinished

Method sipIsFinished

SIP/SIPBase.h:138–157  ·  view source on GitHub ↗

Return true if the call has finished, successfully or not. */

Source from the content-addressed store, hash-verified

136
137 /** Return true if the call has finished, successfully or not. */
138 bool sipIsFinished() const {
139 switch (mState) {
140 case Cleared: case MODClearing: case MTDClearing:
141 case Canceled: case MODCanceling: case MTDCanceling:
142 case SSFail: case MODError:
143 case SSTimeout:
144 return true;
145 case SSNullState:
146 case Starting:
147 case Proceeding:
148 case Ringing:
149 case MOCBusy:
150 case Connecting:
151 case Active:
152 case MOSMSSubmit:
153 case HandoverInbound:
154 case HandoverOutbound:
155 return false;
156 }
157 }
158
159 SipBaseProtected() : mState(SSNullState) { mStateAge.now(); }
160};

Callers 1

dialogCancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected