[svn-commits] igorg: branch 11 r412712 - /branches/11/channels/chan_unistim.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Apr 21 03:29:52 CDT 2014


Author: igorg
Date: Mon Apr 21 03:29:39 2014
New Revision: 412712

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412712
Log:

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.


Modified:
    branches/11/channels/chan_unistim.c

Modified: branches/11/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_unistim.c?view=diff&rev=412712&r1=412711&r2=412712
==============================================================================
--- branches/11/channels/chan_unistim.c (original)
+++ branches/11/channels/chan_unistim.c Mon Apr 21 03:29:39 2014
@@ -2825,9 +2825,6 @@
 		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",




More information about the svn-commits mailing list