]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Tue Jan 13 14:59:50 CST 2009 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:55:11 +0000 (16:55 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:55:11 +0000 (16:55 +0000)
  * 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

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c

index d45ee363c637484f31b33735a2d9956ad16d76e6..bfcf9887d4af972825e27d315b202a4674a04ca2 100644 (file)
@@ -1 +1 @@
-Wed Feb 11 10:54:37 CST 2009
+Wed Feb 11 10:55:01 CST 2009
index aa38b0c998755088ec848cc2d8e8715b05503bf9..a52ebca5a65dcb1fcde4100b7d8bd45f4530c32c 100644 (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 */