Typos in comments and debug logs fixed.
This commit is contained in:
parent
ae0def5cc7
commit
2da5a28a07
|
@ -596,7 +596,7 @@ class TransactionTable {
|
||||||
Also clears dead entries during search.
|
Also clears dead entries during search.
|
||||||
@param mobileID The mobile at to search for.
|
@param mobileID The mobile at to search for.
|
||||||
@param target A TransactionEntry to accept the found record.
|
@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);
|
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
|
// IMSIs are 14 or 15 char + "IMSI" prefix
|
||||||
unsigned namelen = strlen(IMSI);
|
unsigned namelen = strlen(IMSI);
|
||||||
if ((namelen>19)||(namelen<18)) {
|
if ((namelen>19)||(namelen<18)) {
|
||||||
LOG(WARN) << "INVITE with malformed username \"" << IMSI << "\"";
|
LOG(WARN) << "INVITE/MESSAGE with malformed username \"" << IMSI << "\"";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Skip first 4 char "IMSI".
|
// Skip first 4 char "IMSI".
|
||||||
IMSI+=4;
|
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);
|
L3MobileIdentity mobile_id(IMSI);
|
||||||
|
|
||||||
// Check SIP map. Repeated entry? Page again.
|
// Check SIP map. Repeated entry? Page again.
|
||||||
|
@ -343,7 +343,7 @@ bool SIPInterface::checkInvite( osip_message_t * msg )
|
||||||
if (!callerID) {
|
if (!callerID) {
|
||||||
callerID = emptyString;
|
callerID = emptyString;
|
||||||
callerHost = 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;
|
LOG(DEBUG) << "callerID " << callerID << "@" << callerHost;
|
||||||
// Build the transaction table entry.
|
// Build the transaction table entry.
|
||||||
|
|
Reference in New Issue