From b724a2e37a16e194841ffe298e387ecbce7971cb Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Sun, 25 Oct 2009 23:40:58 +0000 Subject: [PATCH] bf: send ACK only for INVITE git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1572 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmSipDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 703f872d..0b5b4713 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -264,7 +264,7 @@ void AmSipDialog::updateStatus(const AmSipReply& reply) // TODO: // - place this somewhere else. // (probably in AmSession...) - if(reply.code < 300){ + if((reply.code < 300) && (t.method == "INVITE")) { send_200_ack(t); }