Oh, weird. Seems to work in other languages. 

-----Original Message-----
From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Giovanni 
Maruzzelli
Sent: Thursday, September 17, 2009 5:27 PM
To: freeswitch-users@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 <m...@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

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

Reply via email to