- Joined
- Mar 1, 2021
- Messages
- 1
- Reaction score
- 0
Hi,
We have created an integration script for one of our customers.
The phone number is displayed correctly in 3CX, so the getPhoneNumber function is working as expected.
However, we would also like to trigger an API so that the application is notified immediately when someone is calling.
It is almost working correctly, but we still have two issues:
With our current implementation, the API is only triggered after the call has ended.
We would like the API to be triggered immediately when the incoming call starts.
Currently, outgoing calls are also sent to this API. In this case, we only want to trigger the API for incoming calls.
What are we doing wrong, and what would be the best way to achieve this?
We have created an integration script for one of our customers.
The phone number is displayed correctly in 3CX, so the getPhoneNumber function is working as expected.
However, we would also like to trigger an API so that the application is notified immediately when someone is calling.
It is almost working correctly, but we still have two issues:
With our current implementation, the API is only triggered after the call has ended.
We would like the API to be triggered immediately when the incoming call starts.
Currently, outgoing calls are also sent to this API. In this case, we only want to trigger the API for incoming calls.
What are we doing wrong, and what would be the best way to achieve this?