Jump to content

Questions on cdr classification and relevant APIs


Max
 Share

Recommended Posts

I am trying to get the live status of a domain, using http://myip/rest/system/status, it can return the information below:

"obj_cdrs":49994,
"trunk_cdrs":12808,
"ext_cdr":6111,
"ivr_cdr":22238,
"total_calls":69138,
"total_attempts":9895,
"total_duration":16338451,
"current_calls":8,
"current_legs":14

My questions are:

1. whats the relations beween total_calls and obj_cdrs,trunk_cdrs,ext_cdr,ivr_cdr?

2.How can I get the information (via APIs) of an acd or an agent below:

    (1)the total calls today,  the answered calls today, the abandoned calls today ,

    (2)live information :the calls in Queue, the calls answered;

3. For the questions listed in 2., can they be got via the cdr which is collected in a mysql table by ways of "Settings - CDR & Recording" -CDR URL : jsons://MYIP/vodiaCDR.php (which is the one Vodi recommended.)" ? 

 

thanks

Link to comment
Share on other sites

Thank you!

I am doing some reports for some ACSs! To do this, I need to get live calls data (ivrtime,talktime,holdtime today) and period data (weeklly, monthly) as well, how do you recommend to get them?

 

Another question is , for each cdr record collected in a mysql table by ways of "Settings - CDR & Recording" -CDR URL : jsons://MYIP/vodiaCDR.php (which is the one Vodi recommended), does it mean a complete call?  As I have analyzed the cdr records, I found that it has two records representing one complete call while it has single record representing one complete call, but I am not sure

Link to comment
Share on other sites

You can fetch the inbound or outbound calls via the XML files in the CDR(s) directory.

Or you can process the "from" or the "to" section of the call logs to determine if the call was inbound or outbound. 

 

Link to comment
Share on other sites

Thanks for your update!

I had tried to find the rules of judging the direction of a call in cdr records via "from" and "to" fields, but its seeming very unpredictable ,which I think the information is not the fact and wrong.

As I need to get the live informatioin of "Inbound"/"Outboud" calls, I suppose access directory of the vodia server is a little inconvenient, so can we have other ways ?   doesnot voida server have APIs for this ?

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...