mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	gsm_04_80: Embed a ss_Code inside the NotifySS-ARG...
Indicate that this is about the Call Name Presentation (cnap) but the a1200 still ignores the call completelty...
This commit is contained in:
		@@ -263,6 +263,12 @@ struct msgb *gsm0480_create_notifySS(const char *text)
 | 
			
		||||
	msgb_put_u8(msg, GSM_0480_SEQUENCE_TAG);
 | 
			
		||||
	seq_len_ptr = msgb_put(msg, 1);
 | 
			
		||||
 | 
			
		||||
	/* ss_code for CNAP { */
 | 
			
		||||
	msgb_put_u8(msg, 0x81);
 | 
			
		||||
	msgb_put_u8(msg, 1);
 | 
			
		||||
	msgb_put_u8(msg, 0x19);
 | 
			
		||||
	/* } ss_code */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	/* nameIndicator { */
 | 
			
		||||
	msgb_put_u8(msg, 0xB4);
 | 
			
		||||
@@ -303,7 +309,7 @@ struct msgb *gsm0480_create_notifySS(const char *text)
 | 
			
		||||
	/* ); nameIndicator */
 | 
			
		||||
 | 
			
		||||
	/* write the lengths... */
 | 
			
		||||
	seq_len_ptr[0] = nam_len_ptr[0] + 2;
 | 
			
		||||
	seq_len_ptr[0] = 3 + nam_len_ptr[0] + 2;
 | 
			
		||||
 | 
			
		||||
	return msg;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user