Hey Daniel, Henning,<br><br>That made the trick, now it works OK.<br><br>Thanks for the help!<br>Uriel<br><br><div class="gmail_quote">On Tue, Dec 8, 2009 at 5:23 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div 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<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On 12/7/09 5:21 PM, Henning Westerholt wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
  
  On
Montag, 7. Dezember 2009, Uriel Rozenbaum wrote:<br>
&gt; It&#39;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&#39;t think Asterisk is
100% fault<br>
&gt; free but at least I&#39;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
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre cols="72">-- 
Daniel-Constantin Mierla
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
</pre>
</div>

</blockquote></div><br>