mirror of https://github.com/sipwise/db-schema.git
New voip_sound_groups: recent_calls New voip_sound_handles: * recent_call_play_number * recent_call_confirmation * recent_call_anonymous * recent_call_empty * recent_call_deleted Change-Id: I9e084210e7803ce48afe01941849af675268ea8cchanges/05/34705/3
parent
6297995ac8
commit
a037d85b2f
@ -0,0 +1,11 @@
|
||||
USE provisioning;
|
||||
|
||||
DELETE FROM voip_sound_handles WHERE name in(
|
||||
'recent_call_play_number',
|
||||
'recent_call_confirmation',
|
||||
'recent_call_anonymous',
|
||||
'recent_call_empty',
|
||||
'recent_call_deleted',
|
||||
);
|
||||
|
||||
DELETE FROM voip_sound_groups WHERE name = 'recent_calls';
|
@ -0,0 +1,14 @@
|
||||
use provisioning
|
||||
set autocommit=0;
|
||||
|
||||
insert into voip_sound_groups(name) values ('recent_calls');
|
||||
|
||||
SELECT id INTO @grp_id FROM voip_sound_groups WHERE name='recent_calls';
|
||||
|
||||
INSERT into voip_sound_handles (name,group_id) VALUES ('recent_call_play_number', @grp_id);
|
||||
INSERT into voip_sound_handles (name,group_id) VALUES ('recent_call_confirmation', @grp_id);
|
||||
INSERT into voip_sound_handles (name,group_id) VALUES ('recent_call_anonymous', @grp_id);
|
||||
INSERT into voip_sound_handles (name,group_id) VALUES ('recent_call_empty', @grp_id);
|
||||
INSERT into voip_sound_handles (name,group_id) VALUES ('recent_call_deleted', @grp_id);
|
||||
|
||||
commit;
|
Loading…
Reference in new issue