Please help me this

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Please help me this

Postby davidh » Mon Sep 06, 2010 5:42 am

What version asterisk is vicidialnow 1.3 running? SOLVED

See last post
Last edited by davidh on Mon Sep 06, 2010 9:03 am, edited 1 time in total.
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby cyberchoy123 » Mon Sep 06, 2010 8:30 am

asterisk 1.2 i think.
cyberchoy123
 
Posts: 71
Joined: Sat Jul 18, 2009 2:47 am

CDR related by AGENT

Postby davidh » Mon Sep 06, 2010 8:51 am

I want to set a call limit per agent , where can one get the logs of agents call duration.

I want to create a php page where i can set, view and edit cost limits per agent, meaning say agent 1001 logs in, I saw that it creates a converence with the agents softphone, so i gather the dial script is writen in agi for i can not find any links to mysql using the dialplan, my question is this where can i find the agi responcible for making the outbound call, i get a deadagi on hangup.

exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... ----------)
Does this deadagi store any information somewhere, if yes where ??


I want to add my own deadagi when the call ends to get the relevant information from the dialed number, but most importantly the agent info and the duration of the call.


Please any help welcome
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby mflorell » Mon Sep 06, 2010 9:12 am

What you describe is not currently a feature of ViciDial. If you describe in more detail exactly what you are trying to do we can give you some suggestions of where to start.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby davidh » Mon Sep 06, 2010 9:39 am

:) That would be great this is what i want to do

This would be used for outgoing campaigns only.

I need to get the calldata(cdr) info from vicidial(the ${CDR(src)} must somehow be linked to Agent(name or Number) something like this:

date---src(agentinfo)--numberdialed--duration(billsec)

I will the create a table with the above fileds and add a available credit field

So every time the agent dials a number i need to check that he or she has sufficient credit to make the call.

If the agent does not have any credit (fail the outbound call and link to message "no funds available to make this call please contact your team leader"

In the long run i want to be able to work out the call costs per sale, and once this is done the door is open for more detailed reporting.

I see every call out links to starting deadagi

exten => _91011XXXXXXX,n,AGI(agi://127.0.0.1:4577/call_log)

When the call is hanged up used the deadagi and an h extension as follows

exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})



What does this AGI do linking to port 4577, is that not comport related.

i need to link to this agi and get the data i need to add it to the custom database

so when the call ends i need the date agent(name or number) destination(number) and the duration of the call.

I hope this makes sense,
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby mflorell » Mon Sep 06, 2010 11:30 am

Is this for agents using the vicidial agent interface, or agents just picking up their phones to make calls by dialing themselves?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby davidh » Mon Sep 06, 2010 2:00 pm

No this is for the agent portal only but i will created something similar to this for dialing straight from the soft phone without user portal.(the latter is easy for you can used asterisk dial plan logic with asterisk application MYSQL to update the relevant data

My main concern now is getting those cdr, but asterisk cdr will not give the relevant agent info, for the call is bridged to a conference.
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby davidh » Mon Sep 06, 2010 2:05 pm

i some how need to get the agent info in a custom cdr string with number dialed and billable duration.



I also saw there is a agent_log.php file that displays the right information.

I guess i need to find a way to tie into that, i thought this was going to be easy but did not realize that the call to the agent console is a conference.

Please i need a nudge in the right direction.
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby mflorell » Mon Sep 06, 2010 2:11 pm

ViciDial does not use the Asterisk CDR because it is not very accurate for the way ViciDial handles calls, especially related to agent time.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby davidh » Mon Sep 06, 2010 2:16 pm

Do you know where or in witch table the call data is stored
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby davidh » Mon Sep 06, 2010 2:18 pm

note that the only time i am interested in is the bridged calls to customer i need the duration and agent that is logged in and dialing the number

i can work with that data no problem
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am

Postby davidh » Mon Sep 06, 2010 2:25 pm

user_stats.php

if you call up this page you get info regarding the agent there is a tab


OUTBOUND CALLS FOR THIS TIME PERIOD: (10000 record limit)
davidh
 
Posts: 26
Joined: Wed Jan 28, 2009 3:03 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 46 guests