Hello List!<br><br>I&#39;m trying to set up authorization with our billing proprietary radius server, using Freeradius as a proxy. Currently I&#39;m experiencing the following problem:<br><br>The Access-Request packet, sent by Kamailio, contains two User-Name attribute records<br>

Here is a log from the Freeradius server:<br><br>rad_recv: Access-Request packet from host 127.0.0.1 port 59294, id=112, length=298<br>    User-Name = &quot;<a href="mailto:2219001@example.com">2219001@example.com</a>&quot;<br>

    Digest-Attributes = 0x0a0932323139303031<br>    Digest-Attributes = 0x01106c696e6b2d726567696f6e2e7275<br>    Digest-Attributes = 0x022254584452634531773045524b7368796f30684a70544f4f6a69424d386b32534a<br>    Digest-Attributes = 0x04147369703a6c696e6b2d726567696f6e2e7275<br>

    Digest-Attributes = 0x030a5245474953544552<br>    Digest-Attributes = 0x050661757468<br>    Digest-Attributes = 0x090a3030303030303031<br>    Digest-Attributes = 0x080c32383034636535373032<br>    Digest-Response = &quot;e79b47955c02401fe52d05f7956609aa&quot;<br>

    Service-Type = Sip-Session<br>    Sip-Uri-User = &quot;2219001&quot;<br><b>    User-Name = &quot;call-id=domcmqmnychbwlp@koffe-work&quot;</b><br>    NAS-Identifier = &quot;<a href="http://kamserv.example.com">kamserv.example.com</a>&quot;<br>

    NAS-Port = 5060<br>    NAS-IP-Address = 127.0.0.1<br># Executing section authorize from file /etc/freeradius/sites-enabled/default<br>+- entering group authorize {...}<br>++[preprocess] returns ok<br>++[chap] returns noop<br>

++[mschap] returns noop<br>[digest] Checking for correctly formatted Digest-Attributes<br>[digest] Digest-Attributes look OK.  Converting them to something more usful.<br>    Digest-User-Name = &quot;2219001&quot;<br>    Digest-Realm = &quot;<a href="http://example.com">example.com</a>&quot;<br>

    Digest-Nonce = &quot;TXDRcE1w0ERKshyo0hJpTOOjiBM8k2SJ&quot;<br>    Digest-URI = &quot;sip:<a href="http://example.com">example.com</a>&quot;<br>    Digest-Method = &quot;REGISTER&quot;<br>    Digest-QOP = &quot;auth&quot;<br>

    Digest-Nonce-Count = &quot;00000001&quot;<br>    Digest-CNonce = &quot;2804ce5702&quot;<br>[digest] Adding Auth-Type = DIGEST<br>++[digest] returns ok<br>[suffix] Looking up realm &quot;<a href="http://example.com">example.com</a>&quot; for User-Name = &quot;<a href="mailto:2219001@example.com">2219001@example.com</a>&quot;<br>

[suffix] Found realm &quot;<a href="http://example.com">example.com</a>&quot;<br>[suffix] Adding Realm = &quot;<a href="http://example.com">example.com</a>&quot;<br>[suffix] Proxying request from user 2219001 to realm <a href="http://example.com">example.com</a><br>

[suffix] Preparing to proxy authentication request to realm &quot;<a href="http://example.com">example.com</a>&quot; <br>++[suffix] returns updated<br>[eap] No EAP-Message, not doing EAP<br>++[eap] returns noop<br>++[files] returns noop<br>

++[expiration] returns noop<br>++[logintime] returns noop<br>++[pap] returns noop<br>Sending Access-Request of id 250 to 127.0.0.1 port 1822<br>    User-Name = &quot;<a href="mailto:2219001@example.com">2219001@example.com</a>&quot;<br>

    Digest-Attributes = 0x0a0932323139303031<br>    Digest-Attributes = 0x01106c696e6b2d726567696f6e2e7275<br>    Digest-Attributes = 0x022254584452634531773045524b7368796f30684a70544f4f6a69424d386b32534a<br>    Digest-Attributes = 0x04147369703a6c696e6b2d726567696f6e2e7275<br>

    Digest-Attributes = 0x030a5245474953544552<br>    Digest-Attributes = 0x050661757468<br>    Digest-Attributes = 0x090a3030303030303031<br>    Digest-Attributes = 0x080c32383034636535373032<br>    Digest-Response = &quot;e79b47955c02401fe52d05f7956609aa&quot;<br>

    Service-Type = Sip-Session<br>    Sip-Uri-User = &quot;2219001&quot;<br><b>    User-Name = &quot;call-id=domcmqmnychbwlp@koffe-work&quot;</b><br>    NAS-Identifier = &quot;<a href="http://kamserv.example.com">kamserv.example.com</a>&quot;<br>

    NAS-Port = 5060<br>    NAS-IP-Address = 127.0.0.1<br>    Proxy-State = 0x313132<br>Proxying request 1 to home server 127.0.0.1 port 1822<br><br>As I understand, this second User-Name attribute has to be a call-id attribute.<br>

<br><br><br><br><br><br><br><br><br>