[asterisk-commits] mmichelson: trunk r87608 - /trunk/main/pbx.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Oct 30 12:07:27 CDT 2007
    
    
  
Author: mmichelson
Date: Tue Oct 30 12:07:26 2007
New Revision: 87608
URL: http://svn.digium.com/view/asterisk?view=rev&rev=87608
Log:
The priority gets incremented after raising an exception, so the priority should be set to 0
Modified:
    trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=87608&r1=87607&r2=87608
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Tue Oct 30 12:07:26 2007
@@ -1319,7 +1319,7 @@
 	ast_string_field_set(exception, context, chan->context);
 	ast_string_field_set(exception, exten, chan->exten);
 	exception->priority = chan->priority;
-	set_ext_pri(chan, "e", 1);
+	set_ext_pri(chan, "e", 0);
 	return 0;
 }
 
    
    
More information about the asterisk-commits
mailing list