[Freeswitch-users] Disconnect the call when ESL connection gets disconnected

Grant Bagdasarian GB at cm.nl
Mon Sep 15 09:49:22 MSD 2014

So, what it comes down to is that there is no mechanism in freeswitch which will also end the call when the ESL connection is disconnected for any reason?!

I guess I'll have to write my application so that it will "never" close the connection by mistake (read bug) and if it does initiate a new one and take control again.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of servtelar
Sent: Saturday, September 13, 2014 4:20 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Disconnect the call when ESL connection gets disconnected

When the call is bridged you can close the ESL connection and the call remains connected.

On Sep 12, 2014, at 12:16 PM, Hector Geraldino <Hector.Geraldino at ipsoft.com<mailto:Hector.Geraldino at ipsoft.com>> wrote:

Well, I think it depends on which action is being executed on the call leg. If it is a park(), or bridge() I don't think it is possible.

As I understand it, FreeSWITCH will 'cede' the control of the call to an external (ESL) application when the "socket" action is executed on the dialplan. If the socket gets disconnected, I would suspect that the next action on the dialplan will be executed once the current action is finished, but I don't know/am not sure that if, for example, the call is parked (or bridged to another leg) by the application, the current operation will be canceled (call un-parked or un-bridge) because the socket is now closed.

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Grant Bagdasarian
Sent: Friday, September 12, 2014 10:22 AM
To: FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>)
Subject: [Freeswitch-users] Disconnect the call when ESL connection gets disconnected


Is there a way to disconnect the call(s) managed by an ESL connection when the ESL connection gets disconnected in outbound mode?


Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>

Official FreeSWITCH Sites


FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140915/817bd912/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list