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

Phillip Boles freeswitch-users at vocalspace.com
Fri Aug 31 00:24:29 MSD 2012


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120830/11436163/attachment-0001.html 


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