Presence-based announcement

Discussion in 'CRM / Helpdesk / App Integration' started by aditel, Feb 1, 2016.

Thread Status:
Not open for further replies.
  1. aditel

    Joined:
    Dec 2, 2015
    Messages:
    23
    Likes Received:
    3
    Hi,

    When I change the status to unavailable, and specify the time, ex 1 hour. If I use the VAD would I be able to play what time the selected extension will be back? Some tips what to do in such cases?
     
  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,438
    Likes Received:
    114
    Hi there,

    What you're trying to do is not easy, you will need to program a DLL and call that DLL from the VAD.

    First, the VAD will receive the call when the extension is not available, so you need to forward calls to the VAD app in that case. Next, when the VAD receives the call, it needs to determine the extension previously called, that can be done using the 3CX Call Control API: http://www.3cx.com/blog/docs/call-control-api/

    Then, you need to use that same API to read the profile for that extension, and then you know when it will become available again. Finally, you can inform that to the calling party.

    In order to use the 3CX Call Control API, you need to create a DLL in .NET and consume that API from your DLL, returning a single value to the VAD app in each method, for example the hour when the extension will become available. Then from the VAD you can use that information as usual to play a prompt message.

    Hope the information helps.

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.