Sync provisioning and kamailio lcr rules sync

It will be executed with no changes on new 
deploys and new upgrades since the changes are 
already edited in previous revs. 

For those ones which already applied the original
revs this one will fix the asyncs but still won't
delete the inconsistent entries delted in 
provisioning and still present in kamailio. 
That's for another rev.
2.6
Jon Bonilla 14 years ago
parent a148787aa2
commit 76798cc3ea

@ -0,0 +1,4 @@
#Fix the unsynced rules default values
ALTER TABLE provisioning.voip_peer_rules CHANGE COLUMN callee_pattern calle_pattern VARCHAR(64) DEFAULT '';
UPDATE provisioning.voip_peer_rules SET callee_pattern='' where callee_pattern=NULL;
UPDATE kamailio.lcr_rule SET request_uri='' where request_uri=NULL;
Loading…
Cancel
Save