xml_cdr.conf.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <configuration name="xml_cdr.conf" description="XML CDR CURL logger">
  2. <settings>
  3. <!-- the url to post to if blank web posting is disabled -->
  4. <!-- <param name="url" value="http://localhost/cdr_curl/post.php"/> -->
  5. <!-- optional: credentials to send to web server -->
  6. <!-- <param name="cred" value="user:pass"/> -->
  7. <!-- the total number of retries (not counting the first 'try') to post to webserver incase of failure -->
  8. <!-- <param name="retries" value="2"/> -->
  9. <!-- delay between retries in seconds, default is 5 seconds -->
  10. <!-- <param name="delay" value="1"/> -->
  11. <!-- optional: if not present we do not log every record to disk -->
  12. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank value will default to ${prefix}/logs/xml_cdr -->
  13. <param name="log-dir" value=""/>
  14. <!-- optional: if not present we do log the b leg -->
  15. <!-- true or false if we should create a cdr for the b leg of a call-->
  16. <param name="log-b-leg" value="false"/>
  17. <!-- optional: if not present, all filenames are the uuid of the call -->
  18. <!-- true or false if a leg files are prefixed "a_" -->
  19. <param name="prefix-a-leg" value="true"/>
  20. <!-- encode the post data may be 'true' for url encoding, 'false' for no encoding or 'base64' for base64 encoding -->
  21. <param name="encode" value="true"/>
  22. <!-- optional: set to true to disable Expect: 100-continue lighttpd requires this setting -->
  23. <!--<param name="disable-100-continue" value="true"/>-->
  24. <!-- optional: full path to the error log dir for failed web posts if not specified its the same as log-dir -->
  25. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank or omitted value will default to ${prefix}/logs/xml_cdr -->
  26. <!-- <param name="err-log-dir" value="/tmp"/> -->
  27. <!-- optional: if enabled this will disable CA root certificate checks by libcurl -->
  28. <!-- note: default value is disabled. only enable if you want this! -->
  29. <!-- <param name="ignore-cacert-check" value="true" /> -->
  30. </settings>
  31. </configuration>