MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / agent_switch_login

Function agent_switch_login

modules/call_center/cc_data.h:377–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376
377static inline void agent_switch_login(struct cc_data* data,
378 struct cc_agent* agent, struct cc_agent* prev_agent)
379{
380 /* take out of the current list */
381 remove_cc_agent(data, agent, prev_agent);
382 agent->logged_in ^= 1;
383 agent_raise_event( agent, NULL);
384 /* add on top of the new one */
385 add_cc_agent_top(data, agent);
386}
387#endif

Callers 3

w_agent_loginFunction · 0.85
mi_agent_loginFunction · 0.85
add_cc_agentFunction · 0.85

Calls 3

remove_cc_agentFunction · 0.85
agent_raise_eventFunction · 0.85
add_cc_agent_topFunction · 0.85

Tested by

no test coverage detected