[prev in list] [next in list] [prev in thread] [next in thread]
List: semsdev
Subject: [Semsdev] git:master: b/f: uac_auth: use SIP_FLAGS_NOCONTACT for authenticated sip reqs
From: Stefan Sayer <stefan.sayer () googlemail ! com>
Date: 2014-08-19 9:49:11
Message-ID: 20140819094911.314C1EF8076 () rimmer ! ryngle ! com
[Download RAW message or body]
Module: sems
Branch: master
Commit: b06f2b1080697e3b6a9ca76ce88f9f8f3e573270
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b06f2b1080697e3b6a9ca76ce88f9f8f3e573270
Author: Stefan Sayer <stefan.sayer@googlemail.com>
Committer: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Tue Aug 19 11:45:06 2014 +0200
b/f: uac_auth: use SIP_FLAGS_NOCONTACT for authenticated sip reqs
otherwise we have two Contact headers in the request
thanks to Andrew Pogrebennyk for reporting
---
core/plug-in/uac_auth/UACAuth.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/core/plug-in/uac_auth/UACAuth.cpp b/core/plug-in/uac_auth/UACAuth.cpp
index f44ee53..c37fd28 100644
--- a/core/plug-in/uac_auth/UACAuth.cpp
+++ b/core/plug-in/uac_auth/UACAuth.cpp
@@ -229,7 +229,7 @@ bool UACAuth::onSipReply(const AmSipRequest& req, const \
AmSipReply& reply, // resend request
if (dlg->sendRequest(ri->second.method,
&(ri->second.body),
- hdrs, SIP_FLAGS_VERBATIM | SIP_FLAGS_NOAUTH) == 0) {
+ hdrs, SIP_FLAGS_VERBATIM | SIP_FLAGS_NOAUTH | SIP_FLAGS_NOCONTACT) == 0) {
processed = true;
DBG("authenticated request successfully sent.\n");
// undo SIP dialog status change
_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic