Page 1 of 1

free agent

PostPosted: Tue Jan 29, 2008 6:35 am
by brainstorm
hy friends !!

I am very confuse in free agent detection policy of vicidial.

when a perticular channel(e.g. SIP/100005-0004) hangsup, the "DEAD" status is updated in vicidial_manager table by AST_manager_listen.pl script.

up to this extent its ok, but after tht how vicidial knows tht this perticular agent was busy with tht channel, and now channel is "DEAD", So its time to udate the agent status as "READY" ?

which script is responsible for updating agent's status(depending upon dead / live channel) ?

any idea ???? :cry: :cry: :cry:

PostPosted: Tue Jan 29, 2008 7:17 pm
by mflorell
Agents need to stay on the phone in the meetme channel. The status in the vicidial_manager table has nothing to do with the agent status.

PostPosted: Tue Jan 29, 2008 11:51 pm
by brainstorm
thnx for replay

but one question is still there...

how the vicidial knows tht this agent is free now. Means which script is responsible for changing agents status in vicidial_live_agents tabel.

And wy listener script is only affecting the vicidial_manager table ???

:cry: :cry: :cry:

PostPosted: Wed Jan 30, 2008 12:39 am
by mflorell
There are several scripts that affect the vicidial_live_agents table. just do a grep for "update vicidial_live_agents" and you will see what I mean.

As for the listener script and the vicidial_manager table, those are Manager API interface items that deal with Originating, Redirecting and Hanging up of calls amongst other things.