[svn-commits] lmadsen: tag 1.4.34-rc2 r275765 - in /tags/1.4.34-rc2: ChangeLog apps/app_dial.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jul 12 14:08:07 CDT 2010


Author: lmadsen
Date: Mon Jul 12 14:08:03 2010
New Revision: 275765

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=275765
Log:
Merge changes from issue 17592.

Modified:
    tags/1.4.34-rc2/ChangeLog
    tags/1.4.34-rc2/apps/app_dial.c

Modified: tags/1.4.34-rc2/ChangeLog
URL: http://svnview.digium.com/svn/asterisk/tags/1.4.34-rc2/ChangeLog?view=diff&rev=275765&r1=275764&r2=275765
==============================================================================
--- tags/1.4.34-rc2/ChangeLog (original)
+++ tags/1.4.34-rc2/ChangeLog Mon Jul 12 14:08:03 2010
@@ -11,11 +11,20 @@
 	  65535. Now, we have a secondary check that will ensure that the
 	  seqno rolling over will not cause us to stop accepting DTMF.
   
-	    (closes issue 0017571)
-	    Reported by: mdeneen
-	    Patches:
-	          rtp_seqno_rollover.patch uploaded by mmichelson (license 60)
-	    Tested by: richardf, maxochoa, JJCinAZ
+	  (closes issue 0017571)
+	  Reported by: mdeneen
+	  Patches:
+	        rtp_seqno_rollover.patch uploaded by mmichelson (license 60)
+	  Tested by: richardf, maxochoa, JJCinAZ
+
+	* Clear the AST_CDR_FLAG_DIALED flag for channels going into the pbx
+	  via the G option in app_dial
+  
+	  (closes issue 0017592)
+	  Reported by: jamicque
+	  Patches:
+	        G-flag-cdr-fix1.diff uploaded by mnicholson (license 96)
+	  Tested by: jamicque, mnicholson
 
 2010-06-29  Leif Madsen <lmadsen at digium.com>
 

Modified: tags/1.4.34-rc2/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/tags/1.4.34-rc2/apps/app_dial.c?view=diff&rev=275765&r1=275764&r2=275765
==============================================================================
--- tags/1.4.34-rc2/apps/app_dial.c (original)
+++ tags/1.4.34-rc2/apps/app_dial.c Mon Jul 12 14:08:03 2010
@@ -1707,6 +1707,11 @@
 		}
 
 		if (chan && peer && ast_test_flag(&opts, OPT_GOTO) && !ast_strlen_zero(opt_args[OPT_ARG_GOTO])) {
+			/* chan and peer are going into the PBX, they both
+			 * should probably get CDR records. */
+			ast_clear_flag(chan->cdr, AST_CDR_FLAG_DIALED);
+			ast_clear_flag(peer->cdr, AST_CDR_FLAG_DIALED);
+
 			replace_macro_delimiter(opt_args[OPT_ARG_GOTO]);
 			ast_parseable_goto(chan, opt_args[OPT_ARG_GOTO]);
 			/* peer goes to the same context and extension as chan, so just copy info from chan*/




More information about the svn-commits mailing list