[Freeswitch-svn] [commit] r11813 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nua

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 11 08:55:11 PST 2009


Author: mikej
Date: Wed Feb 11 10:55:11 2009
New Revision: 11813

Log:
Tue Jan 13 14:59:50 CST 2009  Pekka Pessi <first.last at 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.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Wed Feb 11 10:55:11 2009
@@ -1 +1 @@
-Wed Feb 11 10:54:37 CST 2009
+Wed Feb 11 10:55:01 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	Wed Feb 11 10:55:11 2009
@@ -1294,7 +1294,7 @@
     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 @@
       }
     }
 
-    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 */



More information about the Freeswitch-svn mailing list