Author: sayer
Date: 2009-10-26 00:40:58 +0100 (Mon, 26 Oct 2009)
New Revision: 1572

Modified:
   trunk/core/AmSipDialog.cpp
Log:
bf: send ACK only for INVITE


Modified: trunk/core/AmSipDialog.cpp
===================================================================
--- trunk/core/AmSipDialog.cpp  2009-10-25 23:30:20 UTC (rev 1571)
+++ trunk/core/AmSipDialog.cpp  2009-10-25 23:40:58 UTC (rev 1572)
@@ -264,7 +264,7 @@
     // TODO: 
     // - place this somewhere else.
     //   (probably in AmSession...)
-    if(reply.code < 300){
+    if((reply.code < 300) && (t.method == "INVITE")) {
       send_200_ack(t);
     }
 

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

Reply via email to