<font face="arial,helvetica,sans-serif">Hi Bogdan,<br><br>I can&#39;t make you a svn diff because I downloaded a tar. I use 1.6.2-tls. I made a diff between the original tar and my version.<br><br>Regards,<br>Alexandre<br>

</font><br><div class="gmail_quote">On Thu, Jun 10, 2010 at 4:56 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi Alex,<br>
<br>
generate a patch from your svn checkout by doing: &quot;svn diff&quot; - attached<br>
here the relevant part.<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
Alexandre Westfahl ($B%"%l%C%/%5%s%I%k!!%&%(%9%U%!%k(B) wrote:<br>
</div><div class="im">&gt; ok I made changes to have all I want (bottom of mail).<br>
&gt;<br>
&gt; So now, I have an opensips completely compliant with RFC5090. I can<br>
&gt; finish my gateway.<br>
&gt; Please keep me informed if you intend to develop Diameter client for<br>
&gt; opensips. I&#39;m still looking for other softwares but I can&#39;t find<br>
&gt; (except omnivox which I can&#39;t get working). Maybe Oracle weblogic but<br>
&gt; it looks hard to configure.<br>
&gt;<br>
&gt; If I don&#39;t find any suitable software, I will make a hack with sockets<br>
&gt; to exchange data structure between a freediameter testapp and a fake<br>
&gt; opensips module. That way I can have freediameter framework with real<br>
&gt; data and communication between UA and Diameter server through<br>
&gt; transformed opensips. It will be difficult to make it work but I don&#39;t<br>
&gt; have time to make opensips diameter module.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Alexandre<br>
&gt;<br>
&gt;<br>
&gt; pvar.c (line1417)<br>
&gt;<br>
&gt; &nbsp; &nbsp; case 11:<br>
&gt; &nbsp; &nbsp; return pv_get_strval(msg, param, res,<br>
</div>&gt; &nbsp; &nbsp; &amp;((auth_body_t*)(hdr-&gt;parsed))-&gt;<a href="http://digest.nc" target="_blank">digest.nc</a> &lt;<a href="http://digest.nc" target="_blank">http://digest.nc</a>&gt;);<br>
<div class="im">&gt; &nbsp; &nbsp; case 10:<br>
&gt; &nbsp; &nbsp; return pv_get_strval(msg, param, res,<br>
&gt; &nbsp; &nbsp; &amp;((auth_body_t*)(hdr-&gt;parsed))-&gt;digest.qop.qop_str);<br>
&gt; &nbsp; &nbsp; case 9:<br>
&gt; &nbsp; &nbsp; return pv_get_strval(msg, param, res,<br>
&gt; &nbsp; &nbsp; &amp;((auth_body_t*)(hdr-&gt;parsed))-&gt;digest.alg.alg_str);<br>
&gt; &nbsp; &nbsp; case 8:<br>
&gt; &nbsp; &nbsp; return pv_get_strval(msg, param, res,<br>
&gt; &nbsp; &nbsp; &amp;((auth_body_t*)(hdr-&gt;parsed))-&gt;digest.opaque);<br>
&gt; &nbsp; &nbsp; case 7:<br>
&gt; &nbsp; &nbsp; return pv_get_strval(msg, param, res,<br>
&gt; &nbsp; &nbsp; &amp;((auth_body_t*)(hdr-&gt;parsed))-&gt;digest.cnonce);<br>
&gt;<br>
&gt;<br>
&gt; pvar.h (line 109)<br>
&gt;<br>
&gt; &nbsp; &nbsp; PVT_AUTH_NONCE_COUNT, PVT_AUTH_QOP,<br>
&gt; &nbsp; &nbsp; PVT_AUTH_ALGORITHM, PVT_AUTH_OPAQUE, PVT_AUTH_CNONCE,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2010/6/5 Alexandre Westfahl ($B%"%l%C%/%5%s%I%k!!%&%(%9%U%!%k(B)<br>
</div>&gt; &lt;<a href="mailto:awestfahl@gmail.com">awestfahl@gmail.com</a> &lt;mailto:<a href="mailto:awestfahl@gmail.com">awestfahl@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt; &nbsp; &nbsp; cfg script if possible. Something like &quot;$cn&quot;.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Regards,<br>
&gt; &nbsp; &nbsp; Alexandre<br>
&gt;<br>
&gt; &nbsp; &nbsp; On Sat, Jun 5, 2010 at 12:25 AM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div class="h5">&gt; &nbsp; &nbsp; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; From C code, or from cfg script ?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Bogdan<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Alexandre Westfahl ($B%"%l%C%/%5%s%I%k!!%&%(%9%U%!%k(B) wrote:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Hi Bogdan,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Yes I would like to have those fields. I hope the parser can<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; get it<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; from me.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Regards,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Alexandre<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; On Fri, Jun 4, 2010 at 5:04 AM, Bogdan-Andrei Iancu<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;&gt; wrote:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Hi Alexandre,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Not fully following your question - are you looking for some<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; vars/ways<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; to extract those fields from the auth hdr?<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Regards,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Bogdan<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Alexandre Westfahl ($B%"%l%C%/%5%s%I%k!!%&%(%9%U%!%k(B) wrote:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; Hello,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; I forgot in my previous mail to ask how I can easily<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; obtain those<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; variables:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; * $var(qop)=&quot;auth&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; * $var(algorithm)=&quot;MD5&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; * $var(cnonce)=&quot;7856726FFFAAFAFC44&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; * $var(noncecount)=&quot;00000001&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; I have fixed values for now but I can&#39;t make an<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; authentication/authorization because I have to compute<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; cnonce and<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; nonce count in diameter peer.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt; Sorry for sending a second email!<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>
&gt;<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alexandre Westfahl,<br>Keio University, Yokohama<br>Teraoka Lab.<br>Linux User: #458230<br>PGP: EACE5768<br>