Agent Live Call interrupt

Discussions about new features or changes in existing features

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

Agent Live Call interrupt

Postby zaheer » Thu Apr 25, 2013 12:50 am

Hi
I want to listen agent live call and want to disconnect the call if required.Is there any option in vicibox Redux 4.0.1 Asterisk 1.4.44 vici
zaheer
 
Posts: 18
Joined: Sat Jan 12, 2013 3:53 am

Re: Agent Live Call interrupt

Postby williamconley » Thu Apr 25, 2013 6:19 pm

1) Welcome to the Party! 8-)

2) Here are your newbie suggestions!

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Monitoring is covered in the manual (dial 08600051 or 0 plus the conference room number of the agent) or use the Real Time screen configuration to monitor by choosing on the screen.

4) Disconnecting a call is not possible in Vicidial at the moment from the standard setup. A little known/used page "/agc/astguiclient.php" may have functionality you could use to terminate a call. If, however, you want to be able to kill a call from the real time screen, that would require modification to the vicidial code to accomplish. Sounds like a very nice feature to me.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Agent Live Call interrupt

Postby ZoVoS » Sun Jun 02, 2013 3:04 pm

It is easy enough with a minor modification to the real time report screen, This is one of the features I had a new techie write for his job interview.

http://www.vicidial.org/docs/AGENT_API.txt
if you consult the AGENT API;


Code: Select all
To hangup the call, disposition it and then pause the agent, do the following in order:
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=external_pause&value=PAUSE
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=external_hangup&value=1
http://server/agc/api.php?source=test&user=6666&pass=1234&agent_user=1000&function=external_status&value=A



So of the top of my head you add a new column, you populate the USER with $PHP_AUTH_USER and PASS with $PHP_AUTH_PW and so on


if you want to make the code follow VICIs structure I advise you look up the function

function send_monitor(session_id,server_ip,stage)



/var/www/vicidial/AST_timeonVDADall.php
/var/www/vicidial/realtime_report.php

these are the applicable files
ZoVoS
 
Posts: 58
Joined: Fri Aug 17, 2012 11:07 am


Return to Features

Who is online

Users browsing this forum: No registered users and 37 guests