mirror of
				https://github.com/fairwaves/openbts-2.8.git
				synced 2025-11-04 05:53:17 +00:00 
			
		
		
		
	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:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
@@ -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 ...
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user