Freeswitch 에서 사용하는 Module On/Off 를 설정하는 파일.
fs_cli 로 접속하여 load 명령어로도 On/Off 가 가능하지만, Freeswitch 재 시작 후, 매번 load 명령어를 날려줘야만 하는 불편함이 있다.
이럴 경우, modules.conf.xml 파일에 Freeswitch 시작시 자동 load module을 설정해 놓으면 편리하다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | pchero@MyDebian: /usr/local/freeswitch/conf/autoload_configs $ cat modules.conf.xml <configuration name= "modules.conf" description= "Modules" > <modules> <!-- Loggers (I'd load these first) --> <load module= "mod_console" /> <load module= "mod_logfile" /> <!-- <load module= "mod_syslog" /> --> <!--<load module= "mod_yaml" />--> <!-- Multi-Faceted --> <!-- mod_enum is a dialplan interface, an application interface and an api command interface --> <load module= "mod_enum" /> <!-- XML Interfaces --> <!-- <load module= "mod_xml_rpc" /> --> <!-- <load module= "mod_xml_curl" /> --> <!-- <load module= "mod_xml_cdr" /> --> <!-- <load module= "mod_xml_scgi" /> --> <!-- Event Handlers --> <load module= "mod_cdr_csv" /> <!-- <load module= "mod_cdr_sqlite" /> --> <!-- <load module= "mod_event_multicast" /> --> <load module= "mod_event_socket" /> <!-- <load module= "mod_event_zmq" /> --> <!-- <load module= "mod_zeroconf" /> --> <!-- <load module= "mod_erlang_event" /> --> <!-- <load module= "mod_snmp" /> --> <!-- Directory Interfaces --> <!-- <load module= "mod_ldap" /> --> <!-- Endpoints --> <!-- <load module= "mod_dingaling" /> --> <!-- <load module= "mod_portaudio" /> --> <!-- <load module= "mod_alsa" /> --> <load module= "mod_sofia" /> <load module= "mod_loopback" /> <!-- <load module= "mod_woomera" /> --> <!-- <load module= "mod_freetdm" /> --> <!-- <load module= "mod_openzap" /> --> <!-- <load module= "mod_unicall" /> --> <!-- <load module= "mod_skinny" /> --> <!-- <load module= "mod_khomp" /> --> <!-- <load module= "mod_rtmp" /> --> <!-- Applications --> <load module= "mod_commands" /> <load module= "mod_conference" /> <!-- <load module= "mod_curl" /> --> <load module= "mod_db" /> <load module= "mod_dptools" /> <load module= "mod_expr" /> <load module= "mod_fifo" /> <load module= "mod_hash" /> <load module= "mod_voicemail" /> <!--<load module= "mod_directory" />--> <!--<load module= "mod_distributor" />--> <!--<load module= "mod_lcr" />--> <load module= "mod_esf" /> <load module= "mod_fsv" /> <load module= "mod_cluechoo" /> <load module= "mod_valet_parking" /> <!--<load module= "mod_fsk" />--> <!--<load module= "mod_spy" />--> <!--<load module= "mod_random" />--> <load module= "mod_httapi" /> <!--<load module= "mod_translate" />--> <!-- SNOM Module --> <!--<load module= "mod_snom" />--> <!-- This one only works on Linux for now --> <!--<load module= "mod_ladspa" />--> <!-- Dialplan Interfaces --> <!-- <load module= "mod_dialplan_directory" /> --> <load module= "mod_dialplan_xml" /> <load module= "mod_dialplan_asterisk" /> <!-- Codec Interfaces --> <load module= "mod_spandsp" /> <load module= "mod_g723_1" /> <load module= "mod_g729" /> <load module= "mod_amr" /> <!--<load module= "mod_ilbc" />--> <load module= "mod_h26x" /> <load module= "mod_vp8" /> <load module= "mod_b64" /> <!--<load module= "mod_siren" />--> <!--<load module= "mod_isac" />--> <!--<load module= "mod_celt" />--> <!--<load module= "mod_opus" />--> <!-- File Format Interfaces --> <load module= "mod_sndfile" /> <load module= "mod_native_file" /> <!-- <load module= "mod_shell_stream" /> --> <!--For icecast /mp3 streams /files-- > <!--<load module= "mod_shout" />--> <!--For local streams (play all the files in a directory)--> <load module= "mod_local_stream" /> <load module= "mod_tone_stream" /> <!-- Timers --> <!-- <load module= "mod_timerfd" /> --> <!-- <load module= "mod_posix_timer" /> --> <!-- Languages --> <!-- <load module= "mod_spidermonkey" /> --> <load module= "mod_v8" /> <!-- <load module= "mod_perl" /> --> <load module= "mod_python" /> <!-- <load module= "mod_java" /> --> <load module= "mod_lua" /> <!-- ASR /TTS --> <!-- <load module= "mod_flite" /> --> <!-- <load module= "mod_pocketsphinx" /> --> <!-- <load module= "mod_cepstral" /> --> <!-- <load module= "mod_tts_commandline" /> --> <!-- <load module= "mod_rss" /> --> <!-- Say --> <load module= "mod_say_en" /> <!-- <load module= "mod_say_ru" /> --> <!-- <load module= "mod_say_zh" /> --> <!-- <load module= "mod_say_sv" /> --> <!-- Third party modules --> <!--<load module= "mod_nibblebill" />--> <!--<load module= "mod_callcenter" />--> < /modules > < /configuration > |
Tags: freeswitch, modules.conf.xml