Fixed #146 in public. We now update the TMSI table on all outgoing transactions as well as when we receive an answer to a paging request

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4159 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl
2012-09-23 22:42:58 +00:00
parent 182fde503d
commit 744777e60b
2 changed files with 9 additions and 1 deletions

View File

@@ -152,7 +152,11 @@ unsigned Control::resolveIMSI(bool sameLAI, L3MobileIdentity& mobileID, Logical
void Control::resolveIMSI(L3MobileIdentity& mobileIdentity, LogicalChannel* LCH)
{
// Are we done already?
if (mobileIdentity.type()==IMSIType) return;
if (mobileIdentity.type()==IMSIType){
//Cause the tmsi table to be touched
gTMSITable.TMSI(mobileIdentity.digits());
return;
}
// If we got a TMSI, find the IMSI.
if (mobileIdentity.type()==TMSIType) {

View File

@@ -275,6 +275,10 @@ void Control::PagingResponseHandler(const L3PagingResponse* resp, LogicalChannel
return;
}
}
else if(mobileID.type()==IMSIType){
//Cause the tmsi table to be touched
gTMSITable.TMSI(resp->mobileID().digits());
}
// Delete the Mobile ID from the paging list to free up CCCH bandwidth.
// ... if it was not deleted by a timer already ...