[sr-dev] git:master: kamailio.cfg: show how to include a local file if exists
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 3 14:27:47 CEST 2012
Module: sip-router
Branch: master
Commit: 7982d66c29e40548cb8282a1de6b7fdddece5ddb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7982d66c29e40548cb8282a1de6b7fdddece5ddb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Wed Oct 3 14:26:12 2012 +0200
kamailio.cfg: show how to include a local file if exists
- kamailio-local.cfg is attempted to be loaded if exists in the same
folder, allowing to set defines/paramters inside it without changing
main kamailio.cfg
---
etc/kamailio.cfg | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 008808f..759262e 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -99,6 +99,9 @@
ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
#!endif
+####### Include Local Config If Exists #########
+import_file "kamailio-local.cfg"
+
####### Defined Values #########
# *** Value defines - IDs used later in config
More information about the sr-dev
mailing list