Guest User

Untitled

a guest
Nov 10th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. <configuration name="json_cdr.conf" description="JSON CDR">
  2. <settings>
  3.  
  4. <!-- Global parameters -->
  5. <param name="log-b-leg" value="true"/>
  6. <param name="prefix-a-leg" value="false"/>
  7.  
  8. <!-- Whether to URL encode the individual JSON values. Defaults to true, set to false for standard JSON. -->
  9. <param name="encode-values" value="true"/>
  10.  
  11. <!-- Normally if url and log-dir are present, url is attempted first and log-dir second. This options allows to do both systematically. -->
  12. <param name="log-http-and-disk" value="true"/>
  13. <!-- File logging -->
  14. <!-- Directory where to create the "json_cdr" directory used to store JSON CDRs. Leave empty for no file logging. -->
  15. <!-- Might be overriden by a channel variable "json_cdr_base". -->
  16. <param name="log-dir" value="/usr/local/freeswitch/log/json_cdr"/>
  17. <!-- Whether to rotate file CDRs. -->
  18. <param name="rotate" value="false"/>
  19.  
  20. <!-- HTTP(S) logging -->
  21. <!-- URL where to POST JSON CDRs. Leave empty for no URL logging. Up to 20 URLs may be specified. -->
  22. <param name="url" value="http://localhost/index.php"/>
  23. <!-- Authentication scheme for the above URL. May be one of basic|digest|NTLM|GSS-NEGOTIATE|any-->
  24. <param name="auth-scheme" value="basic"/>
  25. <!-- Credentials in the form username:password if auth-scheme is used. Leave empty for no authentication. -->
  26. <param name="cred" value=""/>
  27. <!-- Whether to base64 encode the entire JSON document before POSTing it. -->
  28. <param name="encode" value="false"/>
  29. <!-- Number of retries in case of failure. Each specified URL is tried in turn. -->
  30. <param name="retries" value="0"/>
  31. <!-- Delay between retries (ms). -->
  32. <param name="delay" value="5000"/>
  33. <!-- Disable streaming if the server doesn't support it. -->
  34. <param name="disable-100-continue" value="false"/>
  35. <!-- If web posting failed, the CDR is written to a file. -->
  36. <!-- Error log dir ("json_cdr" is appended). Up to 20 may be specified. Default to log-dir if none is specified. -->
  37. <param name="err-log-dir" value="/usr/local/freeswitch/log/xml_json"/>
  38.  
  39.  
  40. <!-- SSL options -->
  41. <param name="ssl-key-path" value=""/>
  42. <param name="ssl-key-password" value=""/>
  43. <!-- SSL version. If specified, must be either "SSLv3" or "TLSv1". -->
  44. <param name="ssl-version" value=""/>
  45. <param name="enable-ssl-verifyhost" value="false"/>
  46. <param name="ssl-cert-path" value=""/>
  47. <param name="enable-cacert-check" value="false"/>
  48. <param name="ssl-cacert-file" value=""/>
  49. </settings>
  50. </configuration>
Add Comment
Please, Sign In to add comment