Module: sems Branch: master Commit: b06f2b1080697e3b6a9ca76ce88f9f8f3e573270 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b06f2b1080697e3b6a9ca76ce88f9f8f3e573270
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> 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 [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
