Hello.<br>I&#39;m having some trouble with aaa_proxy_authorize. It doesn&#39;t send the username properly. From my freeRADIUS log:<br><br>rad_recv: Access-Request packet from host 127.0.0.1 port 60717, id=100, length=313<br>
    User-Name = &quot;@141.85.xxx.xxx&quot;<br>    [...]<br>    Sip-URI-User = &quot;root&quot;<br>    [...]<br><br>Notice that the username and domain are separated. I tried with aaa_www_authorize, but the behaviour is the same. What&#39;s the deal?<br>
Here&#39;s my config:<br><br>if (!(method==&quot;REGISTER&quot;) &amp;&amp; !is_method(&quot;PUBLISH|SUBSCRIBE&quot;)) /*no multidomain version*/<br>    {<br>        if(from_uri==myself) {                 #if from local domain, process request on local AAA server<br>
            if (!aaa_www_authorize(&quot;&quot;)) <br>            {  www_challenge(&quot;&quot;, &quot;1&quot;);<br>                exit;<br>            }<br>            if (!db_check_from()) <br>            {   sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);<br>
                exit;<br>            }<br>            consume_credentials();<br>            # caller authenticated<br>        }<br><br>        else  {                                          #if from foreign domain, proxy request to foreign AAA server<br>
            if (!aaa_proxy_authorize(&quot;&quot;))   #eventually give another parameter as SIP-Uri-User<br>            {   proxy_challenge(&quot;&quot;, &quot;1&quot;);<br>                exit;<br>            }<br>            if (!db_check_from()) <br>
            {   sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);<br>                exit;<br>            }<br>            consume_credentials();<br>            # caller authenticated<br>        }<br><br>    }<br>
<br>Also, is there any way to change the &quot;User-Name&quot; that&#39;s being sent? I noticed that $fu isn&#39;t modifiable.<br>I&#39;d like to send my domain name in the request (User-Name = &quot;me@mydomain&quot;), but it seems the only way I can do this is send it through the &quot;From display name&quot; $fd. How can I manage to place this in the User-Name?<br>
<br>Advice is welcome, thanks!<br>