[asterisk-commits] app queue.c: clear moh field in init queue (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 11 11:30:46 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6740 )

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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  Jenkins2: Approved for Submit



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/6740
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
Gerrit-Change-Number: 6740
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Nathan Bruning <nathan at iperity.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20171011/ebdd4830/attachment-0001.html>


More information about the asterisk-commits mailing list