You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
867 B

  1. Phone Log-call
  2. =================
  3. When a call has completed within Asterisk, FreeSWITCH or similar
  4. a callback can be added in a hangup handler to call a script
  5. which sends a request to Odoo to log the call.
  6. This module requires a module providing _get_ucp_url and _get_jitter
  7. functions in PhoneCommon. These provide a URL template for downloading
  8. recordings (false is fine) and the number of seconds to use to make
  9. sure there are no problems in merging call logs, respectively.
  10. Merging of call logs is automatic if, and only if, the call existing in
  11. the database as a state time between the start of the new call minus jitter
  12. and end of the new call plus jitter. It keep the data making the call the
  13. longest. It will keep the original attachment, ignoring a new one. It will
  14. append the new call description to the old making sure that the old ends with
  15. a new line.