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.
40 lines
1.2 KiB
40 lines
1.2 KiB
From: Sipwise Development Team <support@sipwise.com>
|
|
Date: Mon, 4 Nov 2024 15:37:29 +0100
|
|
Subject: sipwise_vm_fix_envelope_play
|
|
|
|
---
|
|
apps/app_voicemail.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
|
|
index e11ec69..1964bec 100644
|
|
--- a/apps/app_voicemail.c
|
|
+++ b/apps/app_voicemail.c
|
|
@@ -12442,8 +12442,10 @@ static int vm_execmain(struct ast_channel *chan, const char *data)
|
|
}
|
|
cmd = 't';
|
|
break;
|
|
+ */
|
|
case '3': // Envelope
|
|
if (vms.lastmsg > -1 && !vms.starting) {
|
|
+ ast_safe_sleep(chan,500);
|
|
cmd = advanced_options(chan, vmu, &vms, vms.curmsg, 3, record_gain);
|
|
if (cmd == ERROR_LOCK_PATH) {
|
|
res = cmd;
|
|
@@ -12454,6 +12456,7 @@ static int vm_execmain(struct ast_channel *chan, const char *data)
|
|
}
|
|
cmd = 't';
|
|
break;
|
|
+ /*
|
|
case '4': // Dialout
|
|
if (!ast_strlen_zero(vmu->dialout)) {
|
|
cmd = dialout(chan, vmu, NULL, vmu->dialout);
|
|
@@ -12486,6 +12489,7 @@ static int vm_execmain(struct ast_channel *chan, const char *data)
|
|
break;
|
|
|
|
default:
|
|
+ ast_safe_sleep(chan,500);
|
|
cmd = 0;
|
|
/*
|
|
if (!vms.starting) {
|