TT#151207 Update voip_cf_destination to add 'fax=' prefix to fax2mail destinations

In order to introduce the new 'fax=' prefix, we have to update
the already configured CF destinations to fax2mail, and prefix them
with 'fax='.

Change-Id: Id09886932ba3246b7e10b36fb4f3f50c61139c7a
mr11.1
Daniel Grotti 3 years ago
parent 962512317c
commit 5537943729

@ -0,0 +1,8 @@
use provisioning;
SET sql_log_bin=0;
UPDATE voip_cf_destinations
SET destination=REPLACE(destination, 'sip:fax=', 'sip:')
WHERE destination LIKE 'sip:%@fax2mail.local';
COMMIT;

@ -0,0 +1,8 @@
USE provisioning;
SET sql_log_bin=0;
UPDATE voip_cf_destinations
SET destination=REPLACE(destination, 'sip:', 'sip:fax=')
WHERE destination LIKE 'sip:%@fax2mail.local';
COMMIT;
Loading…
Cancel
Save