[Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

Michael Giagnocavo mgg at giagnocavo.net
Thu Sep 17 17:53:55 PDT 2009


Oh, weird. Seems to work in other languages. 

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Giovanni Maruzzelli
Sent: Thursday, September 17, 2009 5:27 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Callback in Javascript, session.destroy() does not free the channel!

On Fri, Sep 18, 2009 at 12:08 AM, Michael Giagnocavo <mgg at giagnocavo.net> wrote:
> Dispose is a .NET only thing. But I think you are right - with anthm's
> changes, any way you kill your session, if you're on the right thread, it
> should really hangup.
>

Problem is, we are trying to *not answer* the incoming call, get the
callid from the ring, destroy the session, create another session (on
the same, monoline interface), and make an outbound call.

Javascript (last svn) give us a

2009-09-18 01:18:49.291721 [ERR] inline:1  Session is not answered!

if we try to session.hangup() a session that was not answered (by the
way, it makes sense).

-giovanni




-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list