[Asterisk-cvs] asterisk/apps app_voicemail.c,1.158,1.159

markster at lists.digium.com markster at lists.digium.com
Sun Oct 10 00:22:20 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv2960/apps

Modified Files:
	app_voicemail.c 
Log Message:
Remove old compatibility apps


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- app_voicemail.c	9 Oct 2004 04:28:44 -0000	1.158
+++ app_voicemail.c	10 Oct 2004 04:23:10 -0000	1.159
@@ -214,11 +214,9 @@
 
 
 /* Leave a message */
-static char *capp = "VoiceMail2";
 static char *app = "VoiceMail";
 
 /* Check mail, control, etc */
-static char *capp2 = "VoiceMailMain2";
 static char *app2 = "VoiceMailMain";
 
 static char *app3 = "MailboxExists";
@@ -4235,9 +4233,7 @@
 	int res;
 	STANDARD_HANGUP_LOCALUSERS;
 	res = ast_unregister_application(app);
-	res |= ast_unregister_application(capp);
 	res |= ast_unregister_application(app2);
-	res |= ast_unregister_application(capp2);
 	res |= ast_unregister_application(app3);
 	ast_cli_unregister(&show_voicemail_users_cli);
 	ast_cli_unregister(&show_voicemail_zones_cli);
@@ -4248,9 +4244,7 @@
 {
 	int res;
 	res = ast_register_application(app, vm_exec, synopsis_vm, descrip_vm);
-	res |= ast_register_application(capp, vm_exec, synopsis_vm, descrip_vm);
 	res |= ast_register_application(app2, vm_execmain, synopsis_vmain, descrip_vmain);
-	res |= ast_register_application(capp2, vm_execmain, synopsis_vmain, descrip_vmain);
 	res |= ast_register_application(app3, vm_box_exists, synopsis_vm_box_exists, descrip_vm_box_exists);
 	if (res)
 		return(res);




More information about the svn-commits mailing list