From: Igor Goncharovskiy Date: Mon, 21 Apr 2014 08:31:30 +0000 (+0000) Subject: Fix wrong dialtone. The "modulation" should not be referenced for tone+tone as it... X-Git-Tag: 12.3.0-rc1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf53aadd44b14d788eb27c5e8d669c2f35a1300d;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412713 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index cdbfc4abaa..a3f1c9eeda 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -2794,9 +2794,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",