mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	sig_analog: Fix regression with FGD and E911 signaling.
Commit 466eb4a52b introduced a regression
which completely broke Feature Group D and E911 signaling, by removing
the call to analog_my_getsigstr, which affected multiple switch cases.
Restore the original behavior for all protocols except Feature Group C
CAMA (MF), which is all that patch was attempting to target.
Resolves: #993
			
			
This commit is contained in:
		
				
					committed by
					
						![asterisk-org-access-app[bot]](/avatar/58a64b62d62d5b23df7bc832f016f9db?size=40) asterisk-org-access-app[bot]
						asterisk-org-access-app[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							1aeecab6ae
						
					
				
				
					commit
					f1c72347e9
				
			| @@ -1890,6 +1890,11 @@ static void *__analog_ss_thread(void *data) | ||||
| 					if (p->sig == ANALOG_SIG_E911) { | ||||
| 						analog_off_hook(p); | ||||
| 					} | ||||
| 					if (p->sig != ANALOG_SIG_FGC_CAMAMF) { | ||||
| 						/* CAMA signaling (CAMA and CAMAMF) are handled in an if block below. | ||||
| 						 * Everything else, process here. */ | ||||
| 						res = analog_my_getsigstr(chan, dtmfbuf + strlen(dtmfbuf), "#", 3000); | ||||
| 					} | ||||
| 				} | ||||
| 				if (res < 1) { | ||||
| 					analog_dsp_reset_and_flush_digits(p); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user