Hello Olivier,

It seems that you did some modification in r246 and those broke the AKA
authentication. The patch below should make it compilable at least as
you have changed the MessageComponent structure. It seems that even with
those it does not work. I will dig deeper, but it's kind of hard because
a lot changed since r223 when it worked.


stan SIPp_svn # svn diff call.cpp
Index: call.cpp
===================================================================
--- call.cpp    (revision 253)
+++ call.cpp    (working copy)
@@ -2239,9 +2239,9 @@
     /* Build the auth credenticals */
     char uri[MAX_HEADER_LEN];
     sprintf (uri, "%s:%d", remote_ip, remote_port);
-    if (createAuthHeader(auth_comp->auth_user, auth_comp->auth_pass,
+    if (createAuthHeader(auth_comp->comp_param.auth_param.auth_user,
auth_comp->comp_param.auth_param.auth_pass,
          method, uri, body, dialog_authentication,
-         auth_comp->aka_OP, auth_comp->aka_AMF, auth_comp->aka_K,
+         auth_comp->comp_param.auth_param.aka_OP,
auth_comp->comp_param.auth_param.aka_AMF,
auth_comp->comp_param.auth_param.aka_K,
          result + authlen) == 0) {
       ERROR_P1("%s", result + authlen);
     }

Cheers,
-Dragos

-- 
-----------------------------------------
Dipl. Eng. Dragos Vingarzan
Fraunhofer FOKUS/NGNI
Kaiserin-Augusta-Allee 31
10589 Berlin,Germany
Phone +49 (0)30 - 3463 - 7385
Mobile +49 (0)163 - 159 - 5221
Web www.fokus.fraunhofer.de www.openimscore.org
We could change the world if God would give us the source code...
-----------------------------------------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to