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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 6 18:53:35 CST 2008


Author: mmichelson
Date: Thu Mar  6 18:53:35 2008
New Revision: 106505

URL: http://svn.digium.com/view/asterisk?view=rev&rev=106505
Log:
It generally helps to call functions with the parameters in the proper order...

This fixes a bug where you would not be prompted to press 6 to listen to the next message
if you had just listened to the last urgent message.


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=106505&r1=106504&r2=106505
==============================================================================
--- team/jrothenberger/asterisk-urgent/apps/app_voicemail.c (original)
+++ team/jrothenberger/asterisk-urgent/apps/app_voicemail.c Thu Mar  6 18:53:35 2008
@@ -7677,7 +7677,7 @@
 				if (!cmd)
 					cmd = ast_play_and_wait(chan, "vm-opts");
 				if (!cmd)
-					cmd = vm_instructions(chan, &vms, in_urgent, 1);
+					cmd = vm_instructions(chan, &vms, 1, in_urgent);
 			} else
 				cmd = 0;
 			break;
@@ -7687,7 +7687,7 @@
 				adsi_status(chan, &vms);
 			break;
 		default:	/* Nothing */
-			cmd = vm_instructions(chan, &vms, in_urgent, 0);
+			cmd = vm_instructions(chan, &vms, 0, in_urgent);
 			break;
 		}
 	}




More information about the asterisk-commits mailing list