Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Call:

CDRs are sent after every call, whether or not it was answered/handled. These are used for call accounting both on the providers side as well as in the 3rd party application. As CDRs are critical we make use of a persistent Redis List to send them. A single worker must exist which handles/processes these notifications.

...

Type

List

Key

enigma:notifications:campaigns

Payload

  • type: cdr
  • payload: <notif>
    • extension: <agent ext>end_reason: <end_reason>
    • recording_url: <location where you can fetch recording>
    • call_ref: <client_call_ref>
    • dialed_at: <the time the call was placed>
    • contact_ref: <the matter this cdr relates to>
    • end_reason: <Dispositions>
    • end_code: <The SIP termination code>
    • call_time: <call_time>
    • call_dir: <whether this was inbound or outbound>
    • ref: <campaign_ref>

Values: