Tue Jan 13 14:59:50 CST 2009 Pekka Pessi <first.last@nokia.com>

* nua_session.c: send answer in ACK if offer was sent in 200 OK to re-INVITE
  
  Thanks for Liu Yang for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11813 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-11 16:55:11 +00:00
parent 7d792fe3ea
commit fa2fe6a216
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
Wed Feb 11 10:54:37 CST 2009
Wed Feb 11 10:55:01 CST 2009

View File

@ -1294,7 +1294,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
while (sip->sip_supported)
sip_header_remove(msg, sip, (sip_header_t*)sip->sip_supported);
if (ss == NULL || ss->ss_state >= nua_callstate_ready)
if (ss == NULL || ss->ss_state > nua_callstate_ready)
;
else if (cr->cr_offer_recv && !cr->cr_answer_sent) {
if (nh->nh_soa == NULL) {
@ -1312,7 +1312,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
}
}
if (ss == NULL || ss->ss_state >= nua_callstate_ready || reason)
if (ss == NULL || ss->ss_state > nua_callstate_ready || reason)
;
else if (nh->nh_soa && soa_is_complete(nh->nh_soa)) {
/* signal SOA that O/A round(s) is (are) complete */