Merge in the bridge_construction branch to make the system use the Bridging API.
[asterisk/asterisk.git] / apps / app_celgenuserevent.c
index b1701ba..f5714d0 100644 (file)
  * \ingroup applications
  */
 
+/*** MODULEINFO
+       <support_level>core</support_level>
+ ***/
+
 #include "asterisk.h"
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -76,13 +80,8 @@ static int celgenuserevent_exec(struct ast_channel *chan, const char *data)
 
 static int unload_module(void)
 {
-       int res;
-
-       res = ast_unregister_application(app);
-
-       ast_module_user_hangup_all();
-
-       return res;
+       ast_unregister_application(app);
+       return 0;
 }
 
 static int load_module(void)