[Freeswitch-svn] [commit] r10190 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Wed Oct 29 12:29:29 EDT 2008


Author: anthm
Date: Wed Oct 29 12:29:28 2008
New Revision: 10190

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
sigh

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Wed Oct 29 12:29:28 2008
@@ -2966,7 +2966,8 @@
 
 							switch_clear_flag_locked(b_tech_pvt, TFLAG_SIP_HOLD);
 							switch_clear_flag_locked(tech_pvt, TFLAG_HOLD_LOCK);
-							switch_ivr_park_session(b_session);
+							switch_channel_set_state(switch_core_session_get_channel(b_session), CS_PARK);
+
 							new_b_session = switch_core_session_locate(br_b);
 							a_session = switch_core_session_locate(br_a);
 							sofia_info_send_sipfrag(a_session, new_b_session);



More information about the Freeswitch-svn mailing list