Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  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.  
  5. <param name="url" value="http://localhost:8080/cgi-bin/call-cdr-xml.cgi"/>
  6.  
  7. <!-- optional: credentials to send to web server -->
  8. <!-- <param name="cred" value="user:pass"/> -->
  9.  
  10. <!-- the total number of retries (not counting the first 'try') to post to webserver incase of failure -->
  11. <param name="retries" value="2"/>
  12.  
  13. <!-- delay between retries in seconds, default is 5 seconds -->
  14. <!-- <param name="delay" value="1"/> -->
  15.  
  16. <!-- optional: if not present we do not log every record to disk -->
  17. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank value will default to ${prefix}/logs/xml_cdr -->
  18. <param name="log-dir" value=""/>
  19.  
  20. <!-- optional: if not present we do log the b leg -->
  21. <!-- true or false if we should create a cdr for the b leg of a call-->
  22. <param name="log-b-leg" value="true"/>
  23.  
  24. <!-- optional: if not present, all filenames are the uuid of the call -->
  25. <!-- true or false if a leg files are prefixed "a_" -->
  26. <param name="prefix-a-leg" value="true"/>
  27.  
  28. <!-- encode the post data may be 'true' for url encoding, 'false' for no encoding or 'base64' for base64 encoding -->
  29. <param name="encode" value="true"/>
  30.  
  31. <!-- optional: set to true to disable Expect: 100-continue lighttpd requires this setting -->
  32. <!--<param name="disable-100-continue" value="true"/> -->
  33.  
  34. <!-- optional: full path to the error log dir for failed web posts if not specified its the same as log-dir -->
  35. <!-- either an absolute path, a relative path assuming ${prefix}/logs or a blank or omitted value will default to ${prefix}/logs/xml_cdr -->
  36. <!-- <param name="err-log-dir" value="/tmp"/> -->
  37.  
  38. <!-- optional: this will enable the CA root certificate check by libcurl to
  39. verify that the certificate was issued by a major Certificate Authority.
  40. note: default value is disabled. only enable if you want this! -->
  41. <!--<param name="enable-cacert-check" value="true"/>-->
  42. <!-- optional: verify that the server is actually the one listed in the cert -->
  43. <!-- <param name="enable-ssl-verifyhost" value="true"/> -->
  44.  
  45. <!-- optional: these options can be used to specify custom SSL certificates
  46. to use for HTTPS communications. Either use both options or neither.
  47. Specify your public key with 'ssl-cert-path' and the private key with
  48. 'ssl-key-path'. If your private key has a password, specify it with
  49. 'ssl-key-password'. -->
  50. <!-- <param name="ssl-cert-path" value="$${base_dir}/conf/certs/public_key.pem"/> -->
  51. <!-- <param name="ssl-key-path" value="$${base_dir}/conf/certs/private_key.pem"/> -->
  52. <!-- <param name="ssl-key-password" value="MyPrivateKeyPassword"/> -->
  53.  
  54. <!-- optional: use a custom CA certificate in PEM format to verify the peer
  55. with. This is useful if you are acting as your own certificate authority.
  56. note: only makes sense if used in combination with "enable-cacert-check." -->
  57. <!-- <param name="ssl-cacert-file" value="$${base_dir}/conf/certs/cacert.pem"/> -->
  58.  
  59. <!-- optional: specify the SSL version to force HTTPS to use. Valid options are
  60. "SSLv3" and "TLSv1". Otherwise libcurl will auto-negotiate the version. -->
  61. <!-- <param name="ssl-version" value="TLSv1"/> -->
  62.  
  63. <!-- optional: enables cookies and stores them in the specified file. -->
  64. <!-- <param name="cookie-file" value="/tmp/cookie-mod_xml_curl.txt"/> -->
  65. <param name="log-http-and-disk" value="true"/>
  66. </settings>
  67. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement