Vicidial API conference can you get the connected agentID?
Posted: Tue May 10, 2022 5:36 am
Hi we use the vicidial API to develop our own front end for our phone system, I'm currently struggling with a bug in development in which when multiple users request a conference call and there is one available agent in the group sometimes the available agent will connect to one of the agent in the conference call but the display will show they are connected to the other. This is because there doesn't seem to be any response that provides the connected agents or fronter agents ID or a unique conference ID that is sent to both agents so we send out a message via a socket to all the available agents and then change the display of an agent that receives an incoming call after receiving the message.
I was wondering if there is any request that could provide the a response of either the connecting agent or the fronter agent's ID so we can send the ID via a socket message and ensure the right agent is connecting to the call. Or alternatively if it is an option if there is a unique conference ID that both agents can receive and compare.
This is the request we use to initiate the conference call.
"http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=transfer_conference&value=PARK_CUSTOMER_DIAL&ingroup_choices=TEST_IN3&consultative=YES"
Any help on whether this is possible would be appreciated.
Thanks.
I was wondering if there is any request that could provide the a response of either the connecting agent or the fronter agent's ID so we can send the ID via a socket message and ensure the right agent is connecting to the call. Or alternatively if it is an option if there is a unique conference ID that both agents can receive and compare.
This is the request we use to initiate the conference call.
"http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=transfer_conference&value=PARK_CUSTOMER_DIAL&ingroup_choices=TEST_IN3&consultative=YES"
Any help on whether this is possible would be appreciated.
Thanks.