TT#47920 add preference location_from_subscriber

Change-Id: Id262759d72a3392f5689b8a4e772f36b922ca655
changes/80/24980/1
Andrew Pogrebennyk 7 years ago
parent 098c6d65c5
commit 0add785a00

@ -0,0 +1,6 @@
USE provisioning;
set autocommit = 0;
DELETE FROM voip_preferences WHERE attribute = "location_from_subscriber";
commit;

@ -0,0 +1,11 @@
use provisioning;
set autocommit=0;
SELECT id into @vpg_id FROM voip_preference_groups where name = 'Internals';
INSERT INTO voip_preferences (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
(@vpg_id, 'location_from_subscriber', "SIP URI for looking up registration", 0, 1, 1, 0, 0, 0, 0, NOW(), 0, 0, 'string', 0, 'SIP URI of another subscriber (typically a SIP trunk) for looking up registration. If non-empty, the calls will be routed to registered location of specified user. This means that registration of current user will be ignored for incoming calls and can be combined with e164_to_ruri preference for SIP trunking, thus allowing to reach subscriber/extension behind the SIP trunk. A valid value must begin with sip:');
commit;
Loading…
Cancel
Save