Fix wrong dialtone. The "modulation" should not be referenced for tone+tone as it refers to the on-off characteristic - this often resulted in a single tone rather than the multitone as in the UK.


			
			
				changes/61/61/1
			
			
		
Igor Goncharovskiy 13 years ago
parent b5b698afbf
commit a4de660c40

@ -2825,9 +2825,6 @@ static void send_dial_tone(struct unistimsession *pte)
ind = ast_strdupa(ts->data);
s = strsep(&ind, ",");
ast_tone_zone_part_parse(s, &tone_data);
if (tone_data.modulate) {
tone_data.freq2 = 0;
}
send_tone(pte, tone_data.freq1, tone_data.freq2);
if (unistimdebug) {
ast_verb(0, "Country code found (%s), freq1=%d freq2=%d\n",

Loading…
Cancel
Save