mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-03 21:43:32 +00:00 
			
		
		
		
	libmsc: support GSM 03.40 status report for nitb
This patch adds support for GSM 03.40 in nitb mode.
          MS         GSM 03.40          SMSC
           |                            |
           |         SMS-SUBMIT         |
           |--------------------------->|
           |     GSM 04.11 RP-ACK       |
           |<---------------------------|
           |         SMS-DELIVER        |
           |<---------------------------|
           |     GSM 04.11 RP-ACK       |
           |--------------------------->|
           |     SMS-STATUS-REPORT      |
           |<---------------------------|
           |     GSM 04.11 RP-ACK       |
           |--------------------------->|
           |                            |
Change-Id: I5cc7bb4ebadde0940f44d10c3df34707b0615160
			
			
This commit is contained in:
		
				
					committed by
					
						
						Neels Hofmeyr
					
				
			
			
				
	
			
			
			
						parent
						
							3c8d627a08
						
					
				
				
					commit
					b31d2c62a6
				
			@@ -683,6 +683,11 @@ static void sms_status_report(struct gsm_sms *gsms,
 | 
			
		||||
		LOGP(DLSMS, LOGL_ERROR,
 | 
			
		||||
		     "Failed to send status report! err=%d\n", rc);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* No route via SMPP, send the GSM 03.40 status-report now. */
 | 
			
		||||
	if (gsms->receiver)
 | 
			
		||||
		gsm340_rx_sms_submit(sms_report);
 | 
			
		||||
 | 
			
		||||
	LOGP(DLSMS, LOGL_NOTICE, "Status report has been sent\n");
 | 
			
		||||
 | 
			
		||||
	sms_free(sms_report);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user