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

Function endcall

CLI/CLI.cpp:1309–1322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307
1308
1309static CLIStatus endcall(int argc, char **argv, ostream& os)
1310{
1311 if (argc!=2) return BAD_NUM_ARGS;
1312 TranEntryId tid = transactionId(argv[1]);
1313 if (tid == 0) {
1314 os << argv[1] << " is not a valid transaction id";
1315 return BAD_VALUE;
1316 }
1317 if (! gNewTransactionTable.ttTerminate(tid)) {
1318 os << argv[1] << " not found in transaction table";
1319 return BAD_VALUE;
1320 }
1321 return SUCCESS;
1322}
1323
1324
1325static void addGprsInfo(vector<string> &row, const GSM::L2LogicalChannel* chan)

Callers

nothing calls this directly

Calls 2

transactionIdFunction · 0.85
ttTerminateMethod · 0.80

Tested by

no test coverage detected