XML CDR
Â
NSG Supports CDR Logging to a XML formatted file. To activate this follow the steps below:
Â
Edit /usr/local/nsg/conf/autoload_configs/modules.conf.xml and uncomment the line below. Notice the <!--  --> is removed.
Before:Â <!--<load module="mod_xml_cdr"/>-->
After:Â <load module="mod_xml_cdr"/>
Â
Edit /usr/local/nsg/conf/autoload_configs/xml_cdr.conf.xml to set the CDR loggers configuration options.Â
Set the log-dir option to the absolute path using <param name="log-dir" value="/usr/local/nsg/logs/xml_cdr/"/>.
You may want to enable the b leg logging by settingÂ
<param name="log-b-leg" value="false"/>Â to true.Â
Or change the log directory from the defaultÂ
/usr/local/nsg/logs/xml_cdr/
Â
Restart NSG to enable the logger then test and verify the logging is working as configured.Â
Â
Extra InfoÂ
Ensure all files are saved before restarting NSG
For more configuration options seeÂ
http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Configuration_Options
Â