Helper script for my pet system

squeeze-backports
Victor Seva 12 years ago
parent 23b0c769d1
commit d01059784c

@ -0,0 +1,6 @@
#!/bin/sh
cp prefs.lua.tt2 /etc/ngcp-config/templates/etc/kamailio/proxy/
tpage --define PRO=true templates/proxy/kamailio.cfg > /etc/ngcp-config/templates/etc/kamailio/proxy/kamailio.cfg.customtt.tt2
tpage --define PRO=true templates/proxy/proxy.cfg > /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2
ngcpcfg build /etc/kamailio/proxy
invoke-rc.d kamailio-proxy restart
Loading…
Cancel
Save