05-17-2025 12:00 PM
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:
Is there a way to get call duration and end time in this or another API?
Is there a pattern in callLogId that links placed and received calls?
Are there extra flags or fields to tell us why a call was missed (rejected, no answer, voicemail)?
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!
Solved! Go to Solution.
05-19-2025 04:26 AM
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
05-19-2025 04:26 AM
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
05-19-2025 11:40 AM
Thanks @mpcaddy
Yeah, you’re right - I was trying the EnhancedCallLogs endpoint and got this error:
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide