Freeswitch autoload configs

From 탱이의 잡동사니
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

Freeswitch autoload_config 디렉토리 내용 설명

Basic

/etc/freeswitch/autoload_config 디렉토리는 Freeswitch 시작시 자동으로 로드되는 설정파일들을 보관하는 곳이다. 대부분 핵심 모듈의 설정 파일이 위치하게 된다.

modules.conf.xml

Freeswitch 시작시, 어떤 모듈들을 자동으로 로드할 것인지를 설정하는 파일이다.

critical

critical 옵션을 설정할 수 있다. critical="true" 설정시, 해당 모듈 로드가 실패할 경우 Freeswitch 가 종료된다. <source lang=xml> <load module="mod_really_important" critical="true"/> </source>

path

만약 mod_com_g729 와 같은 상용 모듈을 사용하고 있을 경우, mod_com 과 같은 다른 일반적인 모듈들과 구분해서 디렉토리를 사용해야 한다. 왜냐하면 모듈 업그레이드와 같은 경우 lib, bin 파일들을 덮어쓰는 경우가 발생할 수도 있기 때문이다. 이런 경우, path 옵션을 이용해서 별도로 설치된 디렉토리 위치를 지정해 줄 수 있다. <source lang=xml> <load module="mod_com_g729" path="/opt/fs/mod_com"/> </source>