Is there a way to get a count/list of active calls in a vxml app while a call leaves the same app?
I want to be able to execute some actions as callers leave the vxml application. The task
will depend on whether there's another call active in the same application as the first call leaves it.
I was thinking of a CallEnd class but I'm not sure if the CallEnd class has access to the current state of the application. I've used CallEnd classes to write to DBs, etc. but that's using data captured from the app once the session has ended.
assuming is not doable from a CallEnd I was thinking of using a custom action element/class to monitor how many calls are active as it exists the app.
I was looking at the .getApplicationAPI() but I can't find documentation/not clear on if it has that feature.
thank you