Hello @pondsenth,
When you transfer the call to the queue, you don't know which agent will take it. If you're collecting some data in the VAD app, and need that information later related to the agent call, you can use the Call ID to bind the info. From the VAD, you need to get the Call ID, save the info entered by the user into a database along with the Call ID. Then when the call is transfered to an agent, you could create a CRM plug-in to do the same, that is getting the Call ID and save it into the database. That way you can bind both legs.
In order to get the Call ID, you need to use the 3CX Call Control API. In the VAD for v15 it will be easier, because the Call ID will be available as a property. In the VAD v14 you need to create a DLL using the 3CX Call Control API and get it from there. On the CRM plug-in side, you need to use the 3CX Call Control API as well, but as that is an API only available in the 3CX server, you need to expose it using a web service for example, so the CRM plug-in running in the 3CXPhone client machine can access it.
Hope the information helps.
Kind regards.
Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.