<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
the problem seems to be in the challenge/authorize parameters. The
challenge has a realm parameter while authorize realm parameter is
empty -- that means the realm is taken from From header.<br>
<br>
Therefore, to fix it, use the same realm parameter to proxy_challenge()
and proxy_authorize() functions.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<br>
On 12/7/09 5:21 PM, Henning Westerholt wrote:
<blockquote cite="mid:200912071721.30956.henning.westerholt@1und1.de"
 type="cite">
  <meta name="qrichtext" content="1">
  <style type="text/css">p, li { white-space: pre-wrap; }</style>On
Montag, 7. Dezember 2009, Uriel Rozenbaum wrote:<br>
&gt; It's very strange because the only ERROR I get is the one I print
based on<br>
&gt; the return value, nothing else. I tried PROXY and WWW
auth/challenge.<br>
&gt;<br>
&gt; I tried registering the GW with an Asterisk server and it got
registered<br>
&gt; OK, but Asterisk only uses WWW Auth. I don't think Asterisk is
100% fault<br>
&gt; free but at least I'm sure the parsing part should be OK. Maybe
kamailio is<br>
&gt; not finding credentials after some given header?<br>
&gt;<br>
&gt; Is there any higher debug level I can try?<br>
  <p style="margin: 0px; text-indent: 0px;"><br>
  </p>
Hey Uriel,<br>
  <p style="margin: 0px; text-indent: 0px;"><br>
  </p>
ok, you use INFO level in the cfg for your informations, so anything
higher then this should be logged as well. You could try to set level 4
(DEBUG), but this is nothing which can be enabled on a production
system with high traffic longer than e few seconds. There are some fifo
cmds that can be used to switch the log level during runtime, this is
probably helpful for you if you need to debug in production.<br>
  <p style="margin: 0px; text-indent: 0px;"><br>
  </p>
Regards,<br>
  <p style="margin: 0px; text-indent: 0px;"><br>
  </p>
Henning
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>