You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
From: Sipwise Development Team <support@sipwise.com>
|
|
Date: Mon, 4 Nov 2024 15:37:29 +0100
|
|
Subject: sipwise_vm_externnotify_by_uuid
|
|
|
|
---
|
|
apps/app_voicemail.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
|
|
index 68fbe93..eb2276b 100644
|
|
--- a/apps/app_voicemail.c
|
|
+++ b/apps/app_voicemail.c
|
|
@@ -6566,15 +6566,15 @@ static void run_externnotify(char *context, char *extension, const char *flag, c
|
|
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);
|