From f115bcf726d418ea20528daed55dbaa2e1e098fe Mon Sep 17 00:00:00 2001 From: Jozef Kenyeres Date: Tue, 28 Jun 2016 14:15:50 +0200 Subject: [PATCH] MT#20457 subscriber put on hold is notified with a=sendonly in reINVITE Change-Id: Id7fb1975496636da648dbfdd9ae03ab27c42060c --- db_scripts/diff/15255.down | 3 +++ db_scripts/diff/15255.up | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 db_scripts/diff/15255.down create mode 100644 db_scripts/diff/15255.up diff --git a/db_scripts/diff/15255.down b/db_scripts/diff/15255.down new file mode 100644 index 00000000..ed54f0b9 --- /dev/null +++ b/db_scripts/diff/15255.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'set_moh_sendonly'; diff --git a/db_scripts/diff/15255.up b/db_scripts/diff/15255.up new file mode 100644 index 00000000..aeead75b --- /dev/null +++ b/db_scripts/diff/15255.up @@ -0,0 +1,13 @@ +USE provisioning; +set autocommit = 0; + +SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'NAT and Media Flow Control'; + +INSERT INTO voip_preferences (id, voip_preference_groups_id, attribute, label, type, max_occur, +usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, +expose_to_customer, data_type, read_only, description) VALUES + (NULL, @vpgid, 'set_moh_sendonly', 'MoH sendonly', 0, 1, 1, 0, 1, 1, 0, now(), 0, 1, + 'boolean', 0, 'Subscriber put on hold is notified with a=sendonly in reINVITE.' + ); + +commit;