VICIfast
Glossary

system

ra_call_control

A VICIdial API function that controls a call for a remote agent — one who takes calls on an outside phone instead of the browser softphone.

ra_call_control is an API (Application Programming Interface) function aimed at the Remote agent — an agent whose calls land on an outside phone number rather than the in-browser softphone. It lets an outside program move a remote agent's live call through a few set stages without the agent touching a screen.

It sits inside the broader Agent API, but it is purpose-built for the phone-only case. When a call from an Ingroup or an outbound campaign reaches a remote agent, ra_call_control can connect them to the caller, step the call to a transfer stage, or hang it up. That makes it handy for mobile apps that give a phone-based agent the buttons a browser agent would normally see.

One real limit to plan around: the function only supports a small number of fixed stages for a remote agent. A simple Warm transfer or a clean hangup fits inside those stages, but anything richer — a true three-way add, a closer hand-off with custom prompts — falls outside what ra_call_control alone can do, and you end up scripting the rest through deeper Asterisk Manager calls.

In practice you pair it with the rest of the Agent API so the same outside tool can pause the agent, set a disposition, and control the call from one place. It is also the cleanest way to keep a phone-only Agent session in step with what the dialer thinks is happening. Like every API call, send credentials server-side and never let the raw URL reach a browser, or someone could hijack a live call.

Related terms

ra_call_control — VICIdial glossary · VICIfast