[Asterisk-code-review] app queue.c: clear moh field in init queue (asterisk[15])

Nathan Bruning asteriskteam at digium.com
Fri Oct 6 02:43:47 CDT 2017


Nathan Bruning has uploaded this change for review. ( https://gerrit.asterisk.org/6669


Change subject: app_queue.c: clear moh field in init_queue
......................................................................

app_queue.c: clear moh field in init_queue

ASTERISK-27301 #close

Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
---
M apps/app_queue.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/69/6669/1

diff --git a/apps/app_queue.c b/apps/app_queue.c
index 0efb2e6..e3a4e22 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2760,6 +2760,7 @@
 	}
 	q->found = 1;
 
+	ast_string_field_set(q, moh, "");
 	ast_string_field_set(q, sound_next, "queue-youarenext");
 	ast_string_field_set(q, sound_thereare, "queue-thereare");
 	ast_string_field_set(q, sound_calls, "queue-callswaiting");

-- 
To view, visit https://gerrit.asterisk.org/6669
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
Gerrit-Change-Number: 6669
Gerrit-PatchSet: 1
Gerrit-Owner: Nathan Bruning <nathan at iperity.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171006/28626e55/attachment.html>


More information about the asterisk-code-review mailing list