[asterisk-commits] qwell: branch qwell/ari_continue_location r392881 - /team/qwell/ari_continue_...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 25 14:34:01 CDT 2013


Author: qwell
Date: Tue Jun 25 14:34:00 2013
New Revision: 392881

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392881
Log:
Don't pass along a priority of 0.  Wonky things happen.

Modified:
    team/qwell/ari_continue_location/res/stasis/control.c

Modified: team/qwell/ari_continue_location/res/stasis/control.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/ari_continue_location/res/stasis/control.c?view=diff&rev=392881&r1=392880&r2=392881
==============================================================================
--- team/qwell/ari_continue_location/res/stasis/control.c (original)
+++ team/qwell/ari_continue_location/res/stasis/control.c Tue Jun 25 14:34:00 2013
@@ -120,7 +120,11 @@
 	}
 	ast_copy_string(continue_data->context, S_OR(context, ""), sizeof(continue_data->context));
 	ast_copy_string(continue_data->extension, S_OR(extension, ""), sizeof(continue_data->extension));
-	continue_data->priority = priority;
+	if (priority > 0) {
+		continue_data->priority = priority;
+	} else {
+		continue_data->priority = -1;
+	}
 
 	stasis_app_send_command_async(control, app_control_continue, continue_data);
 




More information about the asterisk-commits mailing list