Hello List!<br><br>I'm trying to set up authorization with our billing proprietary radius server, using Freeradius as a proxy. Currently I'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 = "<a href="mailto:2219001@example.com">2219001@example.com</a>"<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 = "e79b47955c02401fe52d05f7956609aa"<br>
Service-Type = Sip-Session<br> Sip-Uri-User = "2219001"<br><b> User-Name = "call-id=domcmqmnychbwlp@koffe-work"</b><br> NAS-Identifier = "<a href="http://kamserv.example.com">kamserv.example.com</a>"<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 = "2219001"<br> Digest-Realm = "<a href="http://example.com">example.com</a>"<br>
Digest-Nonce = "TXDRcE1w0ERKshyo0hJpTOOjiBM8k2SJ"<br> Digest-URI = "sip:<a href="http://example.com">example.com</a>"<br> Digest-Method = "REGISTER"<br> Digest-QOP = "auth"<br>
Digest-Nonce-Count = "00000001"<br> Digest-CNonce = "2804ce5702"<br>[digest] Adding Auth-Type = DIGEST<br>++[digest] returns ok<br>[suffix] Looking up realm "<a href="http://example.com">example.com</a>" for User-Name = "<a href="mailto:2219001@example.com">2219001@example.com</a>"<br>
[suffix] Found realm "<a href="http://example.com">example.com</a>"<br>[suffix] Adding Realm = "<a href="http://example.com">example.com</a>"<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 "<a href="http://example.com">example.com</a>" <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 = "<a href="mailto:2219001@example.com">2219001@example.com</a>"<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 = "e79b47955c02401fe52d05f7956609aa"<br>
Service-Type = Sip-Session<br> Sip-Uri-User = "2219001"<br><b> User-Name = "call-id=domcmqmnychbwlp@koffe-work"</b><br> NAS-Identifier = "<a href="http://kamserv.example.com">kamserv.example.com</a>"<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>