* externnotify invokation now sends the subscriber uuid as an argument. Change-Id: I36a7494ec11569a42e895745116565d650b855efchanges/07/37807/1
parent
95fd497d10
commit
180aa9ddaa
@ -0,0 +1,22 @@
|
||||
--- a/apps/app_voicemail.c
|
||||
+++ b/apps/app_voicemail.c
|
||||
@@ -6644,15 +6644,15 @@
|
||||
if (msg_time) {
|
||||
ast_localtime(msg_time, &tm, timezonename);
|
||||
ast_strftime(date, sizeof(date), "%Y-%m-%dT%H:%M:%S%z", &tm);
|
||||
- snprintf(arguments, sizeof(arguments), "%s %s %s %d %d %d %d %s %s %d &",
|
||||
+ snprintf(arguments, sizeof(arguments), "%s %s %s %s %d %d %d %d %s %s %d &",
|
||||
externnotify, S_OR(context, "\"\""),
|
||||
- number, newvoicemails,
|
||||
+ number, extension, newvoicemails,
|
||||
oldvoicemails, urgentvoicemails,
|
||||
msgnum, cidnum, date, duration);
|
||||
} else { // original short notify
|
||||
- snprintf(arguments, sizeof(arguments), "%s %s %s %d %d %d &",
|
||||
+ snprintf(arguments, sizeof(arguments), "%s %s %s %s %d %d %d &",
|
||||
externnotify, S_OR(context, "\"\""),
|
||||
- number, newvoicemails,
|
||||
+ number, extension, newvoicemails,
|
||||
oldvoicemails, urgentvoicemails);
|
||||
}
|
||||
ast_debug(1, "Executing %s\n", arguments);
|
Loading…
Reference in new issue