TT#87455 add 'peer_group_tag' preference

A new 'peer_group_tag' preferences allows to store a string value, which
will be used to narrow peering selection.

The 'caller_pattern' of a peering group has to match this tag to be
considered for outgoing calls.

Change-Id: Ia1ce7a70a3b036f7c37b054c0aeba36fb9b21352
mr9.0.1
Rene Krenn 5 years ago
parent 5bdb4004b6
commit 27dd266d23

@ -0,0 +1,3 @@
USE provisioning;
DELETE FROM voip_preferences WHERE attribute = "peer_group_tag";

@ -0,0 +1,21 @@
USE provisioning;
INSERT INTO voip_preferences SET
voip_preference_groups_id = (SELECT id FROM voip_preference_groups WHERE name = 'Internals'),
attribute = "peer_group_tag",
label = "Peering Group Tag",
type = 0,
max_occur = 1,
usr_pref = 1,
prof_pref = 0,
dom_pref = 0,
peer_pref = 0,
contract_pref = 0,
contract_location_pref = 0,
dev_pref = 0,
devprof_pref = 0,
internal = 0,
expose_to_customer = 0,
data_type = "string",
read_only = 0,
description = "The 'caller_pattern' of a peering group has to match this tag to be considered for outgoing calls.";
Loading…
Cancel
Save