mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
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.
........ Merged revisions 412712 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 412713 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2859,9 +2859,6 @@ static void send_dial_tone(struct unistimsession *pte)
|
|||||||
ind = ast_strdupa(ts->data);
|
ind = ast_strdupa(ts->data);
|
||||||
s = strsep(&ind, ",");
|
s = strsep(&ind, ",");
|
||||||
ast_tone_zone_part_parse(s, &tone_data);
|
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);
|
send_tone(pte, tone_data.freq1, tone_data.freq2);
|
||||||
if (unistimdebug) {
|
if (unistimdebug) {
|
||||||
ast_verb(0, "Country code found (%s), freq1=%d freq2=%d\n",
|
ast_verb(0, "Country code found (%s), freq1=%d freq2=%d\n",
|
||||||
|
Reference in New Issue
Block a user