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
This commit is contained in:
Brian West 2009-03-18 16:02:50 +00:00
parent 857cc23cc3
commit d0287cd33d
1 changed files with 1 additions and 1 deletions

View File

@ -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; sip_contact_t * p_contact = sip->sip_contact;
int i = 0; int i = 0;
char var_name[80]; char var_name[80];