Determine When Bridge Attempt is Complete
Hey, I'm looking to determine when a bridge request is complete. I'm using mod_amqp to receive events from Freeswitch and using that data to update a separate database. The problem is that, so far, I've only been able to determine when a bridge attempt fails in a channel_execute_complete event. I'm really trying to avoid sending that event over mod_amqp because there are *a ton* of those events generated for every call. Is there any other way to determine when a bridge attempt fails? We've got CHANNEL_BRIDGE & CHANNEL_ANSWER to determine when it's successful - would be great if anyone knows for the other case. Best, Colin
In case it's helpful to anyone: I've found a solution to this by using the "event" application and triggering a custom "bridge attempt complete" event after the bridge application in the dialplan. This lets me not subscribe to channel_execute_complete, and cuts down on a lot of event traffic. Best, Colin On Thu, Jul 14, 2016 at 10:29 PM Colin Morelli <colin.morelli@gmail.com> wrote:
Hey,
I'm looking to determine when a bridge request is complete. I'm using mod_amqp to receive events from Freeswitch and using that data to update a separate database.
The problem is that, so far, I've only been able to determine when a bridge attempt fails in a channel_execute_complete event. I'm really trying to avoid sending that event over mod_amqp because there are *a ton* of those events generated for every call.
Is there any other way to determine when a bridge attempt fails? We've got CHANNEL_BRIDGE & CHANNEL_ANSWER to determine when it's successful - would be great if anyone knows for the other case.
Best, Colin
participants (1)
-
Colin Morelli