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

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


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6739 )

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; Approved for Submit
  Kevin Harwell: Looks good to me, approved



diff --git a/apps/app_queue.c b/apps/app_queue.c
index c4c3dbc..b7718a1 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2696,6 +2696,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/6739
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic31361f34e2de3b6470e68fc37205a7711082eba
Gerrit-Change-Number: 6739
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/c324864c/attachment-0001.html>


More information about the asterisk-commits mailing list