Author: rco
Date: 2010-04-16 11:26:58 +0200 (Fri, 16 Apr 2010)
New Revision: 1800

Modified:
   trunk/core/sip/trans_layer.cpp
Log:
- re-enables the "accept_fr_without_totag" config param.


Modified: trunk/core/sip/trans_layer.cpp
===================================================================
--- trunk/core/sip/trans_layer.cpp      2010-04-16 09:09:09 UTC (rev 1799)
+++ trunk/core/sip/trans_layer.cpp      2010-04-16 09:26:58 UTC (rev 1800)
@@ -858,7 +858,7 @@
        return 0;
 
     case TS_COMPLETED:
-       // final reply has been sent:
+       // final reply has been sent, but still no ACK:
        // do nothing!!!
        bucket->unlock();
        return 0;
@@ -1140,8 +1140,8 @@
     to_tag = ((sip_from_to*)msg->to->p)->tag;
     if((t->msg->u.request->method != sip_request::CANCEL) && !to_tag.len){
        DBG("To-tag missing in final reply (see sipctrl.conf?)\n");
-       //if (!SipCtrlInterface::accept_fr_without_totag)
-       //    return -1;
+       if (!SipCtrlInterface::accept_fr_without_totag)
+           return -1;
     }
     
     if(t->msg->u.request->method == sip_request::INVITE){

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to