Overview: If you pull calls that are in progress, as soon as the status changes the id for the call changes.
Goal: We'd like to capture calls as they come in. So we used the 'active calls' call to record calls that are in progress, and that are recently completed, and if the call changes from in-progress to something else we update that record (with the duration, result, etc).
Problem: The id of the call changes when the status changes. And why on earth would an id for a call change? It's the same call, same caller, same callee, just with a different status. To add insult to injury the call start time changes so we can't even us that to match up the call.
Goal: We'd like to capture calls as they come in. So we used the 'active calls' call to record calls that are in progress, and that are recently completed, and if the call changes from in-progress to something else we update that record (with the duration, result, etc).
Problem: The id of the call changes when the status changes. And why on earth would an id for a call change? It's the same call, same caller, same callee, just with a different status. To add insult to injury the call start time changes so we can't even us that to match up the call.