[svn-commits] rmudgett: trunk r357101 - /trunk/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 27 18:17:23 CST 2012


Author: rmudgett
Date: Mon Feb 27 18:17:19 2012
New Revision: 357101

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357101
Log:
Fix ast_channel allocation init setting priority to -1 instead of 1.

* Fix opaquification conversion error.

(closes issue ASTERISK-19424)
Reported by: Jeremy Pepper
Patches:
      asterisk-19424-initialize_priority_regression.diff (license #5026) patch uploaded by Michael L. Young

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=357101&r1=357100&r2=357101
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Feb 27 18:17:19 2012
@@ -1097,7 +1097,7 @@
 		
 	ast_channel_context_set(tmp, S_OR(context, "default"));
 	ast_channel_exten_set(tmp, S_OR(exten, "s"));
-	ast_channel_priority_set(tmp, -1);
+	ast_channel_priority_set(tmp, 1);
 
 	ast_channel_cdr_set(tmp, ast_cdr_alloc());
 	ast_cdr_init(ast_channel_cdr(tmp), tmp);




More information about the svn-commits mailing list