New patch debian/patches/sipwise_fix_chan_usage.patch on top of sipwise_vm_uuid_mailbox.patch, to address build failure on Debian/buster. chan is defined only for IMAP_STORAGE inside AST_TEST_DEFINE(test_voicemail_msgcount), so accordingly invoke STORE() also iff IMAP_STORAGE is defined. Change-Id: Ie7e255f1c977934cb6351d0a1010826f23965778changes/07/23907/3
parent
145928855f
commit
81b68f546b
@ -0,0 +1,12 @@
|
||||
--- a/apps/app_voicemail.c
|
||||
+++ b/apps/app_voicemail.c
|
||||
@@ -15051,7 +15051,9 @@
|
||||
break;
|
||||
}
|
||||
open_mailbox(&vms, vmu, folder2mbox[i]);
|
||||
+ #ifdef IMAP_STORAGE
|
||||
STORE(tmp[i].dir, testmailbox, testcontext, 0, chan, vmu, "gsm", 600, &vms, strcmp(folders[i], "Urgent") ? "" : "Urgent", NULL);
|
||||
+ #endif
|
||||
|
||||
/* hasvm-old, hasvm-urgent, hasvm-new, ic-old, ic-urgent, ic-new, ic2-old, ic2-urgent, ic2-new, mc-old, mc-urgent, mc-new */
|
||||
for (j = 0; j < 3; j++) {
|
||||
Loading…
Reference in new issue