Hello,
I'm trying to accomplish hangup, dispo and pause events from the Agent API, but whenever I use them, the agent hangups the call, dispositions it, but after that, pauses for about 1 second and then it unpauses itself.
According to the API docs, the order of the events should be pause (while on a live call), then hangup and then dispo. However, this isn't working.
By checking the vicidial_api_log table, all three events are marked as SUCCESS.
Here are the URLs I used (in this order).
api.php?source=API-VICIDIAL&user=apiuser&pass=XXXXX&agent_user=6666&function=external_pause&value=PAUSE
api.php?source=API-VICIDIAL&user=apiuser&pass=XXXXX&agent_user=6666&function=external_hangup&value=1
api.php?source=API-VICIDIAL&user=apiuser&pass=XXXXX&agent_user=6666&function=external_status&value=XA
The SVN revision for this installation is 3163, which is the most up to date.
Any ideas?