mirror of https://github.com/sipwise/db-schema.git
Move the under the new section the announce handles: * announce_before_call_setup * announce_before_cf * announce_before_recording * announce_to_callee' Change-Id: I698dd74a5b8c7f94253bf1763ebb533a41f0ba07mr9.5.1
parent
a6dcea5e09
commit
eabd9942a8
@ -0,0 +1,8 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @rej_id FROM voip_sound_groups WHERE name = 'early_rejects';
|
||||
UPDATE voip_sound_handles SET group_id = @rej_id WHERE name IN ('announce_before_call_setup', 'announce_before_cf', 'announce_before_recording', 'announce_to_callee');
|
||||
DELETE FROM voip_sound_groups WHERE name = 'early_media';
|
||||
|
||||
commit;
|
@ -0,0 +1,8 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
INSERT INTO voip_sound_groups (name) VALUES ('early_media');
|
||||
SELECT id INTO @rej_id FROM voip_sound_groups WHERE name = 'early_media';
|
||||
UPDATE voip_sound_handles SET group_id = @rej_id WHERE name IN ('announce_before_call_setup', 'announce_before_cf', 'announce_before_recording', 'announce_to_callee');
|
||||
|
||||
commit;
|
Loading…
Reference in new issue