[asterisk-commits] kmoore: branch kmoore/stasis-cel_bridging r388935 - /team/kmoore/stasis-cel_b...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 16 17:18:01 CDT 2013


Author: kmoore
Date: Thu May 16 17:18:00 2013
New Revision: 388935

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388935
Log:
Fix init order

Modified:
    team/kmoore/stasis-cel_bridging/main/asterisk.c

Modified: team/kmoore/stasis-cel_bridging/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-cel_bridging/main/asterisk.c?view=diff&rev=388935&r1=388934&r2=388935
==============================================================================
--- team/kmoore/stasis-cel_bridging/main/asterisk.c (original)
+++ team/kmoore/stasis-cel_bridging/main/asterisk.c Thu May 16 17:18:00 2013
@@ -4275,11 +4275,6 @@
 		exit(1);
 	}
 
-	if (ast_cel_engine_init()) {
-		printf("%s", term_quit());
-		exit(1);
-	}
-
 	if (ast_device_state_engine_init()) {
 		printf("%s", term_quit());
 		exit(1);
@@ -4319,6 +4314,11 @@
 	}
 
 	if (ast_bridging_init()) {
+		printf("%s", term_quit());
+		exit(1);
+	}
+
+	if (ast_cel_engine_init()) {
 		printf("%s", term_quit());
 		exit(1);
 	}




More information about the asterisk-commits mailing list