소스 검색

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 년 전
부모
커밋
7982d66c29
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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 '';
 #!endif
 
+####### Include Local Config If Exists #########
+import_file "kamailio-local.cfg"
+
 ####### Defined Values #########
 
 # *** Value defines - IDs used later in config