提交 ad7b07c3 authored 作者: Chris Parker's avatar Chris Parker

Updated build instructions and added sample config files

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5372 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dc453172
......@@ -34,16 +34,16 @@ Building:
event_handlers/mod_radius_cdr
...
3) Re-run configure ??? ( does this need to be done? )
3) Re-run configure ??? ( does this need to be done???)
4) Run make
4) Run make, and make install. Make sure the module is built and installed.
5) Edit freeswitch configuration
5) Configure FreeSWITCH to load it
- Make sure the module is loaded
- Make sure the module XML config file is included
6) Edit the module config file for your system specifics ( servers, secrets, etc. )
- Copy the 'mod_radius_cdr.conf.xml' file to the FreeSWITCH conf directory
- Copy the 'radius/' directory to the FreeSWITCH conf directory
- Edit 'conf/modules.conf' to load mod_radius_cdr
- Edit 'conf/freeswitch.xml' to include 'mod_radius_cdr.conf.xml'
=========================================================================================
......
<configuration name="mod_radius_cdr.conf" description="RADIUS CDR Configuration">
<settings>
<!-- location of the radius dictionary files -->
<param name="dictionary" value="/usr/local/freeswitch/conf/radius/dictionary"/>
<!-- number of retries for each server -->
<param name="radius_retries" value="3"/>
<!-- number of seconds to wait between retries -->
<param name="radius_timeout" value="5"/>
<!-- accounting servers, up to 8 allowed -->
<!-- value is "host:port:secret", port is optional -->
<!-- use IP ADDRESSES, not hostnames -->
<param name="acct_server" value="127.0.0.1:1813:testing123"/>
<param name="acct_server" value="10.0.0.254:1813:testing123"/>
<param name="acct_server" value="192.168.10.10:1813:testing123"/>
</settings>
</configuration>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论