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

Giovanni Maruzzelli gmaruzz at celliax.org
Thu Sep 17 16:27:15 PDT 2009


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




More information about the FreeSWITCH-users mailing list