[Freeswitch-users] Problem with originated calls hanging in CS_SOFT_EXEC state

Anthony Minessale anthony.minessale at gmail.com
Fri Aug 31 00:48:07 MSD 2012


destroy method should have a log line about (destroy/unlink session from object)
try calling your garbage collector, this is common issue with scripts
and make sure you are on latest GIT build


On Thu, Aug 30, 2012 at 3:24 PM, Phillip Boles
<freeswitch-users at vocalspace.com> wrote:
> Sorry for the excessive logs. Here is my call to originate.
>
> 	var session =  ManagedSession.OriginateHandleHangup(s, dialString, ts, (y)
> => {
> 		try {
> 			Log.WriteLine(LogLevel.Info, "Hanging UP: "+ y.GetUuid());
> 			y.SetAutoHangup(true);
> 			y.destroy();
>
> 		} catch( Exception ) {
> 			Log.WriteLine(LogLevel.Critical, "Exception While Trying to handup");	
> 		}
> 	});
>
>
> My hangup callback is getting hit and I am destroying the session
>
> 2012-08-28 10:49:27.296108 [INFO] switch_cpp.cpp:1227 Handing UP:
> e315f2e8-1fa8-4fd9-849b-f687dad8aed5
>
> This is the only call on the system as it is a develpment machine and I see
> the call state being changed.
>
> 2012-08-28 10:49:27.296108 [DEBUG] switch_core_state_machine.c:79
> sofia/external/XXXXXXXXXXX Standard REPORTING, cause: NORMAL_CLEARING
> 2012-08-28 10:49:27.296108 [DEBUG] switch_core_state_machine.c:682
> (sofia/external/XXXXXXXXXXX) State REPORTING going to sleep
> 2012-08-28 10:49:27.296108 [DEBUG] switch_core_state_machine.c:407
> (sofia/external/XXXXXXXXXXX) State Change CS_REPORTING -> CS_DESTROY
>
>
> If I call show channels after the above output it show there is a session
> sitting in CS_SOFT_EXEC corresponding to UUID
> e315f2e8-1fa8-4fd9-849b-f687dad8aed5.
> Is there something else I need to do to release the lock on this session to
> let the resources be reclaimed.
>
> Thanks!
>
> Phillip
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list