Call Time Event

Discussion in 'CRM / Helpdesk / App Integration' started by ibrahim akgün, Feb 28, 2018.

Thread Status:
Not open for further replies.
  1. ibrahim akgün

    Joined:
    Feb 26, 2018
    Messages:
    29
    Likes Received:
    2
    Hi guys,

    I need Call time of ActiveConnections but there is no property or event for this at 3cx control api.

    Is there any event that trigger when 2 extensions connected than i can calculate call time than drop their connections after x minutes?

    Any idea ?

    Thanks for your answers.
     
  2. voiptoys

    voiptoys Active Member

    Joined:
    Feb 13, 2013
    Messages:
    727
    Likes Received:
    125
    Create a windows service that utilizes the call control API.

    1. Capture the connected event.
    2. Add call ID and start date/time to a in-memory list
    3. Every minute check whether the active call is still connected
    4. If call has exceeded 6 minutes, drop the call
    5. Remove call from the list
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ibrahim akgün

    Joined:
    Feb 26, 2018
    Messages:
    29
    Likes Received:
    2
    thank you so much mine solving is nearly like this.
     
Thread Status:
Not open for further replies.