xml_cdr.conf.xml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <!-- Log via http and on disk, default is false -->
  12. <!-- <param name="log-http-and-disk" value="true"/> -->
  13. <!-- optional: if not present we do not log every record to disk -->
  14. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank value will default to ${prefix}/logs/xml_cdr -->
  15. <param name="log-dir" value=""/>
  16. <!-- optional: if not present we do log the b leg -->
  17. <!-- true or false if we should create a cdr for the b leg of a call-->
  18. <param name="log-b-leg" value="false"/>
  19. <!-- optional: if not present, all filenames are the uuid of the call -->
  20. <!-- true or false if a leg files are prefixed "a_" -->
  21. <param name="prefix-a-leg" value="true"/>
  22. <!-- encode the post data may be 'true' for url encoding, 'false' for no encoding, 'base64' for base64 encoding or 'textxml' for text/xml -->
  23. <param name="encode" value="true"/>
  24. <!-- optional: set to true to disable Expect: 100-continue lighttpd requires this setting -->
  25. <!--<param name="disable-100-continue" value="true"/>-->
  26. <!-- optional: full path to the error log dir for failed web posts if not specified its the same as log-dir -->
  27. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank or omitted value will default to ${prefix}/logs/xml_cdr -->
  28. <!-- <param name="err-log-dir" value="$${temp_dir}"/> -->
  29. <!-- which auhtentification scheme to use. Supported values are: basic, digest, NTLM, GSS-NEGOTIATE or "any" for automatic detection -->
  30. <!--<param name="auth-scheme" value="basic"/>-->
  31. <!-- optional: this will enable the CA root certificate check by libcurl to
  32. verify that the certificate was issued by a major Certificate Authority.
  33. note: default value is disabled. only enable if you want this! -->
  34. <!--<param name="enable-cacert-check" value="true"/>-->
  35. <!-- optional: verify that the server is actually the one listed in the cert -->
  36. <!-- <param name="enable-ssl-verifyhost" value="true"/> -->
  37. <!-- optional: these options can be used to specify custom SSL certificates
  38. to use for HTTPS communications. Either use both options or neither.
  39. Specify your public key with 'ssl-cert-path' and the private key with
  40. 'ssl-key-path'. If your private key has a password, specify it with
  41. 'ssl-key-password'. -->
  42. <!-- <param name="ssl-cert-path" value="$${certs_dir}/public_key.pem"/> -->
  43. <!-- <param name="ssl-key-path" value="$${certs_dir}/private_key.pem"/> -->
  44. <!-- <param name="ssl-key-password" value="MyPrivateKeyPassword"/> -->
  45. <!-- optional: use a custom CA certificate in PEM format to verify the peer
  46. with. This is useful if you are acting as your own certificate authority.
  47. note: only makes sense if used in combination with "enable-cacert-check." -->
  48. <!-- <param name="ssl-cacert-file" value="$${certs_dir}/cacert.pem"/> -->
  49. <!-- optional: specify the SSL version to force HTTPS to use. Valid options are
  50. "SSLv3" and "TLSv1". Otherwise libcurl will auto-negotiate the version. -->
  51. <!-- <param name="ssl-version" value="TLSv1"/> -->
  52. <!-- optional: enables cookies and stores them in the specified file. -->
  53. <!-- <param name="cookie-file" value="$${run_dir}/mod_xml_cdr-cookie.txt"/> -->
  54. </settings>
  55. </configuration>