laforge
/
openbts-osmo
Archived
1
0
Fork 0

Typos in comments and debug logs fixed.

master
Alexander Chemeris 13 years ago
parent ae0def5cc7
commit 2da5a28a07
  1. 2
      public-trunk/Control/ControlCommon.h
  2. 6
      public-trunk/SIP/SIPInterface.cpp

@ -596,7 +596,7 @@ class TransactionTable {
Also clears dead entries during search.
@param mobileID The mobile at to search for.
@param target A TransactionEntry to accept the found record.
@return true is the mobile ID was foind.
@return true is the mobile ID was found.
*/
bool find(const GSM::L3MobileIdentity& mobileID, TransactionEntry& target);

@ -300,12 +300,12 @@ bool SIPInterface::checkInvite( osip_message_t * msg )
// IMSIs are 14 or 15 char + "IMSI" prefix
unsigned namelen = strlen(IMSI);
if ((namelen>19)||(namelen<18)) {
LOG(WARN) << "INVITE with malformed username \"" << IMSI << "\"";
LOG(WARN) << "INVITE/MESSAGE with malformed username \"" << IMSI << "\"";
return false;
}
// Skip first 4 char "IMSI".
IMSI+=4;
// Make the mobile id we need for transaction and paging enties.
// Make the mobile id we need for transaction and paging entries.
L3MobileIdentity mobile_id(IMSI);
// Check SIP map. Repeated entry? Page again.
@ -343,7 +343,7 @@ bool SIPInterface::checkInvite( osip_message_t * msg )
if (!callerID) {
callerID = emptyString;
callerHost = emptyString;
LOG(NOTICE) << "INVITE with no From: username for " << mobile_id;
LOG(NOTICE) << "INVITE/MESSAGE with no From: username for " << mobile_id;
}
LOG(DEBUG) << "callerID " << callerID << "@" << callerHost;
// Build the transaction table entry.