Browse Source

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
Daniel-Constantin Mierla 13 years ago
parent
commit
7982d66c29
1 changed files with 3 additions and 0 deletions
  1. 3 0
      etc/kamailio.cfg

+ 3 - 0
etc/kamailio.cfg

@@ -99,6 +99,9 @@
   ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
   ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
 #!endif
 #!endif
 
 
+####### Include Local Config If Exists #########
+import_file "kamailio-local.cfg"
+
 ####### Defined Values #########
 ####### Defined Values #########
 
 
 # *** Value defines - IDs used later in config
 # *** Value defines - IDs used later in config