We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Daily usage stats via Mail or API

Questions and answers about Plum Fuse+

Moderators: admin, support

Post Reply
mushfek0001
Posts: 20
Joined: Wed Mar 14, 2018 1:31 am

Daily usage stats via Mail or API

Post by mushfek0001 »

Hi,

I need to send daily IVR usage stats to some of our Administrative users so I was looking for a way to do that but couldn't found anything suitable. So,

1. Do you guys have any scheduled job type of component where I can configure it to send out usage stats via Email for a particular application on daily basis?

2. Or any API from where I can pull daily usage stats for an application? P.S. I've checked out VoiceTrends and I see stats can be downloaded as CSV in there. Is there any API to do that programmatically from an external service?

Btw, I went through your reporting section and I get that I can share those reports manually but I wanted something automated and exposed to external media so that nobody has to have a Plum account to see those reports.

Thanks.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Daily usage stats via Mail or API

Post by support »

Hi,

1. Unfortunately there is no automated job type of component that will send out statistics. However, you can manually request the information and to automate it with API.

2. Please refer to this API docs on VoiceTrends: https://www.plumvoice.com/docs/voicetrends/api. Depending on the type of usage stats you desire to gather and send out, we would recommend you to "Call Volume" and "Event Tracker" sections in the docs.

Please let us know if you have any further questions.

Regards,
Plum Support

mushfek0001
Posts: 20
Joined: Wed Mar 14, 2018 1:31 am

Re: Daily usage stats via Mail or API

Post by mushfek0001 »

Awesome! I went through VoiceTrends APIs and I had couple of more questions.

1. Is there any API from where I'll be able to pull details of a single call session with the ID retrieved from the shadow variable session.id?
2. Can I get the elapsed time of a call during it's going on (maybe a shadow variable before I make an API call)?

Simply, I need the details of a particular call made and the do some processing based on that so it'd help me greatly if you guys have anything like that.

Thanks.

admin
Site Admin
Posts: 35
Joined: Thu May 29, 2003 3:12 pm

Re: Daily usage stats via Mail or API

Post by admin »

Hi mushfek0001,

Sure, we can help you with your questions!
1) It sounds like this https://www.plumvoice.com/docs/fuse/api ... a-call-log might be what you're looking for based on your description. This is fetching a single call session.

2) For the elapsed time, it would be [x] = getTime(); ...and then whenever you want the duration again, you do diff = getTime() - [x];

Let us know if you have additional questions.

Regards,
Plum Support

Post Reply