From: Anthony Minessale Date: Mon, 26 May 2008 02:22:37 +0000 (+0000) Subject: probably fix SFSIP-57 I'm feeling lucky -google X-Git-Tag: v1.0.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b13d6f03162499b3712e89dcded98cf6bf77a5;p=thirdparty%2Ffreeswitch.git 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 --- 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;