From d0287cd33d9c1acd3a0e6b17a4eef91b722a8ab6 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 18 Mar 2009 16:02:50 +0000 Subject: [PATCH] We get status of 100 on a 302. This will fix a bug reported from IRC. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12655 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 4a6fa599bc..5971ad8c2c 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2691,7 +2691,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status } } - if (channel && sip && (status >= 300 && status < 399) && switch_channel_test_flag(channel, CF_OUTBOUND)) { + if (channel && sip && status == 100 && switch_channel_test_flag(channel, CF_OUTBOUND)) { sip_contact_t * p_contact = sip->sip_contact; int i = 0; char var_name[80];