]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix wrong dialtone. The "modulation" should not be referenced for tone+tone as it...
authorIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 21 Apr 2014 08:29:39 +0000 (08:29 +0000)
committerIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 21 Apr 2014 08:29:39 +0000 (08:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@412712 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_unistim.c

index f7f75f389e9374da8ce373d627530919aa3de6e0..cb0a231da31341e5156706d5517c3a0edff85352 100644 (file)
@@ -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",