Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Presence-based announcement

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

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

    Dec 2, 2015
    Likes Received:

    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

    Jun 27, 2007
    Likes Received:
    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.