To create a Popup for an agent when he receives a call, this needs to be configured in connect applet in the call flow. In the connect applet, you need to go to the section titled "Create popup...", shown below.
Here, enter the endpoint URL where the data has to be pushed to create the popup.
When configured with a URL, Exotel will pass on to that URL details of the agent who is currently being called. It makes a GET request to the URL with the following query parameters:
|CallSid||string; unique identification for every single call|
|From||string; the number of the caller (customer in this case)|
|DialWhomNumber||string, the number of the agent|
|Status||busy: Status is sent as 'busy' when the above agent is being called.|
free: Status is sent as 'free' when the call to the above agent ends. The free status will also be triggered, when the call ends or the call didn't go through or the agent didn't pick up the call.