From 08b13d6f03162499b3712e89dcded98cf6bf77a5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 26 May 2008 02:22:37 +0000 Subject: [PATCH] probably fix SFSIP-57 I'm feeling lucky -google git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8654 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index fb7d7f7fd8..0d9aac2838 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2086,9 +2086,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, } if (switch_channel_get_state(channel) == CS_HIBERNATE) { switch_set_flag_locked(tech_pvt, TFLAG_READY); - if (switch_channel_get_state(channel) == CS_NEW) { - switch_channel_set_state(channel, CS_INIT); - } + switch_channel_set_state(channel, CS_INIT); switch_set_flag(tech_pvt, TFLAG_SDP); } goto done;