mirror of https://github.com/sipwise/db-schema.git
* Added the play_announce_to_callee preference * Added the announce_to_callee sound Change-Id: I700a0fcd7c3d5a2b1319eb4144451394c3fb873cchanges/11/25711/9
parent
3637d0f0ea
commit
7b10ac3c3d
@ -0,0 +1,5 @@
|
||||
USE provisioning;
|
||||
|
||||
DELETE FROM voip_sound_handles WHERE name = 'announce_to_callee';
|
||||
|
||||
DELETE FROM voip_preferences WHERE attribute = 'play_announce_to_callee';
|
||||
@ -0,0 +1,30 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @rej_id FROM voip_sound_groups WHERE name = 'early_rejects';
|
||||
INSERT INTO voip_sound_handles (name,group_id) VALUES ('announce_to_callee', @rej_id);
|
||||
|
||||
|
||||
SELECT id into @vpg_id FROM voip_preference_groups where name = 'Applications';
|
||||
INSERT INTO voip_preferences
|
||||
SET
|
||||
voip_preference_groups_id = @vpg_id,
|
||||
attribute = "play_announce_to_callee",
|
||||
label = "Play announcement to callee after answer",
|
||||
type = 0,
|
||||
max_occur = 1,
|
||||
usr_pref = 1,
|
||||
prof_pref = 0,
|
||||
dom_pref = 1,
|
||||
peer_pref = 0,
|
||||
contract_pref = 1,
|
||||
contract_location_pref = 0,
|
||||
dev_pref = 0,
|
||||
devprof_pref = 0,
|
||||
internal = 0,
|
||||
expose_to_customer = 0,
|
||||
data_type = "boolean",
|
||||
read_only = 0,
|
||||
description = "Playback announcement to callee after he answered the call (PRO and CARRIER only).";
|
||||
|
||||
commit;
|
||||
Loading…
Reference in new issue