[asterisk-commits] mmichelson: branch jrothenberger/asterisk-urgent r106435 - /team/jrothenberge...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 6 15:29:57 CST 2008


Author: mmichelson
Date: Thu Mar  6 15:29:57 2008
New Revision: 106435

URL: http://svn.digium.com/view/asterisk?view=rev&rev=106435
Log:
There is no reason to play the "message marked urgent" sound here. It sounds
awkward.


Modified:
    team/jrothenberger/asterisk-urgent/apps/app_voicemail.c

Modified: team/jrothenberger/asterisk-urgent/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-urgent/apps/app_voicemail.c?view=diff&rev=106435&r1=106434&r2=106435
==============================================================================
--- team/jrothenberger/asterisk-urgent/apps/app_voicemail.c (original)
+++ team/jrothenberger/asterisk-urgent/apps/app_voicemail.c Thu Mar  6 15:29:57 2008
@@ -4924,11 +4924,6 @@
 		}
 	}
 
-	/* URGENT has a carriage return on the end, so don't compare that */
-	if (!strcmp(flag, "URGENT")) {
-		res = wait_file2(chan, vms, "vm-marked-urgent");
-	}
-
 	/* Get info from headers!! */
 	if ((temp = get_header_by_tag(header_content, "X-Asterisk-VM-Caller-ID-Name:", buf, sizeof(buf))))
 		ast_copy_string(cidN, temp, sizeof(cidN));
@@ -5060,11 +5055,6 @@
 		DISPOSE(vms->curdir, vms->curmsg);
 		ast_config_destroy(msg_cfg);
 		return 0;
-	}
-
-	/* URGENT has a carriage return on the end, so don't compare that */
-	if (!ast_strlen_zero(flag) && !strcmp(flag, "URGENT")) {
-		res = wait_file2(chan, vms, "vm-marked-urgent");
 	}
 
 	cid = ast_strdupa(ast_variable_retrieve(msg_cfg, "message", "callerid"));




More information about the asterisk-commits mailing list