Module: sems
Branch: master
Commit: 89313aaa42ad234e7064f5cde95b607e57d6ff80
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=89313aaa42ad234e7064f5cde95b607e57d6ff80

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue May  3 13:39:27 2011 +0200

b/f: resend authenticated request as VERBATIM

to prevent adding of User-Agent/Max-Forwards twice

---

 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 829387a..c0e27b6 100644
--- a/core/plug-in/uac_auth/UACAuth.cpp
+++ b/core/plug-in/uac_auth/UACAuth.cpp
@@ -187,7 +187,7 @@ bool UACAuth::onSipReply(const AmSipReply& reply, int 
old_dlg_status, const stri
            if (dlg->sendRequest(ri->second.method,
                                 ri->second.content_type,
                                 ri->second.body, 
-                                hdrs) == 0) {
+                                hdrs, SIP_FLAGS_VERBATIM) == 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

Reply via email to