free agent

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

free agent

Postby brainstorm » Tue Jan 29, 2008 6:35 am

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:
Software and cathedrals are much the same - first we build them, then we pray.
brainstorm
 
Posts: 33
Joined: Thu Nov 29, 2007 2:50 am
Location: India-Gujarat-Ahmedabad

Postby mflorell » Tue Jan 29, 2008 7:17 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby brainstorm » Tue Jan 29, 2008 11:51 pm

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:
Software and cathedrals are much the same - first we build them, then we pray.
brainstorm
 
Posts: 33
Joined: Thu Nov 29, 2007 2:50 am
Location: India-Gujarat-Ahmedabad

Postby mflorell » Wed Jan 30, 2008 12:39 am

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Development

Who is online

Users browsing this forum: No registered users and 25 guests