cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
354
Views
1
Helpful
2
Replies

Need Help Understanding Call Log API Response (BroadSoft XSI-Actions)

 

Hi everyone

I’m still pretty new to the BroadSoft APIs, and I’m hoping to get some clarity on how we’re meant to work with the call logs returned from this endpoint:

 
https://xsp.svsvoip.net/com.broadsoft.xsi-actions/v2.0/user/{{userid}}/directories/CallLogs

We’re trying to gather proper call log stats (duration, pairings, etc.), but so far we’re only getting data like this:

 

 
 
<callLogsEntry> <phoneNumber>7383</phoneNumber> <name>Canteen 1</name> <time>2023-05-10T09:30:45.123+02:00</time> <callLogId>123456789:0</callLogId> </callLogsEntry>

What’s missing for us are things like:

  • Call duration or <timeEnd> values

  • A reliable way to match placed and received calls

  • Any indicators for missed/rejected/forwarded calls

Main questions:

  1. Is there a way to get call duration and end time in this or another API?

  2. Is there a pattern in callLogId that links placed and received calls?

  3. Are there extra flags or fields to tell us why a call was missed (rejected, no answer, voicemail)?

  4. Is there more complete documentation on this?

We’re using this for analytics — things like response time, duration, and internal vs external trends — so any help or pointers would be super appreciated

Thanks in advance!

1 Accepted Solution

Accepted Solutions

mpcaddy
Level 1
Level 1

I think you need to use EnhancedCallLogs instead of CallLogs, which has a releaseTime.

I've not tried that API myself though so can't completely confirm. I made an application which monitors all the events from each user/callcenter/etc as we need to track the calls live to see the calls that are waiting as well as when they get answered and their duration when they are complete, so we actually use the event subscription.

I used an older version of the spec document before it moved to CISCO when writing my application but the link below should have all the api calls available in. Section 3.5.7.6 should be the relevant section for the EnhancedCallLogs. There should be stuff in there for Missed/Rejected etc too

https://developer.cisco.com/docs/broadworks/developer-docs/#xtended-services-interface-docs 

BW-XSI Interface Spec 

View solution in original post

2 Replies 2

mpcaddy
Level 1
Level 1

I think you need to use EnhancedCallLogs instead of CallLogs, which has a releaseTime.

I've not tried that API myself though so can't completely confirm. I made an application which monitors all the events from each user/callcenter/etc as we need to track the calls live to see the calls that are waiting as well as when they get answered and their duration when they are complete, so we actually use the event subscription.

I used an older version of the spec document before it moved to CISCO when writing my application but the link below should have all the api calls available in. Section 3.5.7.6 should be the relevant section for the EnhancedCallLogs. There should be stuff in there for Missed/Rejected etc too

https://developer.cisco.com/docs/broadworks/developer-docs/#xtended-services-interface-docs 

BW-XSI Interface Spec 

Thanks @mpcaddy 

Yeah, you’re right - I was trying the EnhancedCallLogs endpoint and got this error:

steveralephenya_0-1747679984428.png

 

So, it looks like the service isn’t currently enabled for the user. I’ll probably need to chat with the vendor about it — it might not be included in our current setup, and there could be a fee involved to activate it not sure.

Thanks for the pointer and the doc reference — I’ll check out Section 3.5.7.6 for more details. Might be worth enabling the feature anyway if that’s the cleanest way to get the data we need.