Get All Live Calls

39 views
Skip to first unread message

Ravi Agarwal

unread,
Oct 15, 2015, 12:51:27 AM10/15/15
to Plivo Users
How can we get the number of live calls that are currently in progress? 

I see that Plivo.com has an API call for this ( https://www.plivo.com/docs/api/call/#get-all-live-calls ), but I don't see an equivalent in Plivo Open Source. 

Has anyone added this functionality to Plivo Open Source or something directly via FreeSWITCH? Would you mind sharing the code or just general ideas/guidance to pull this off? :)

Thank you!
-Ravi

Nishad Musthafa

unread,
Oct 15, 2015, 1:03:59 AM10/15/15
to Plivo Users
Consider the following existing implementation in plivoframework,


The freeswitch command being invoked here is 
uuid_kill {call_uuid} NORMAL_CLEARING

You need to implement a similar function that invokes
show calls

This command should give you the information you are looking for. 

Nishad

--
You received this message because you are subscribed to the Google Groups "Plivo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plivo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages