[asterisk-commits] mmichelson: branch jrothenberger/asterisk-urgent r110274 - /team/jrothenberge...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 20 13:04:24 CDT 2008
Author: mmichelson
Date: Thu Mar 20 13:04:24 2008
New Revision: 110274
URL: http://svn.digium.com/view/asterisk?view=rev&rev=110274
Log:
Change the prompting based on the sounds that will be recorded. The original
vm-review-urgent file was unnecessarily long and misleading.
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=110274&r1=110273&r2=110274
==============================================================================
--- team/jrothenberger/asterisk-urgent/apps/app_voicemail.c (original)
+++ team/jrothenberger/asterisk-urgent/apps/app_voicemail.c Thu Mar 20 13:04:24 2008
@@ -9639,10 +9639,15 @@
their OGM's */
if (outsidecaller && !ast_test_flag(vmu, VM_REVIEW))
return cmd;
- if (message_exists && outsidecaller) {
- cmd = ast_play_and_wait(chan, "vm-review-urgent");
- } else if (message_exists) {
+ if (message_exists) {
cmd = ast_play_and_wait(chan, "vm-review");
+ if (!cmd && outsidecaller) {
+ if (strcmp(flag, "URGENT")) {
+ cmd = ast_play_and_wait(chan, "vm-review-urgent");
+ } else {
+ cmd = ast_play_and_wait(chan, "vm-review-unurgent");
+ }
+ }
} else {
cmd = ast_play_and_wait(chan, "vm-torerecord");
if (!cmd)
More information about the asterisk-commits
mailing list