-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here is my freeradius output...
I don't understand what I should add...
Packet-Type = Access-Request
Mon Jan 14 16:44:59 2008
User-Name = "mleurent(a)sip.bob.net"
Sip-Group = "voip"
Service-Type = Voice
NAS-Port = 0
NAS-IP-Address = 172.24.4.1
Client-IP-Address = 172.24.4.1
rad_recv: Access-Request packet from host 172.24.4.1:34696, id=169,
length=70
User-Name = "mleurent(a)sip.bob.net"
Sip-Group = "voip"
Service-Type = Voice
NAS-Port = 0
NAS-IP-Address = 172.24.4.1
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 4
modcall[authorize]: module "preprocess" returns ok for request 4
radius_xlat:
'/var/log/freeradius/radacct/172.24.4.1/auth-detail-20080114'
rlm_detail:
/var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/freeradius/radacct/172.24.4.1/auth-detail-20080114
modcall[authorize]: module "auth_log" returns ok for request 4
modcall[authorize]: module "chap" returns noop for request 4
modcall[authorize]: module "mschap" returns noop for request 4
modcall[authorize]: module "digest" returns noop for request 4
rlm_realm: Looking up realm "sip.bob.net" for User-Name =
"mleurent(a)sip.bob.net"
rlm_realm: No such realm "sip.bob.net"
modcall[authorize]: module "suffix" returns noop for request 4
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 4
radius_xlat: 'mleurent(a)sip.bob.net'
rlm_sql (sql): sql_set_user escaped user --> 'mleurent(a)sip.bob.net'
radius_xlat: 'SELECT id, UserName, Attribute, Value, op
FROM radcheck WHERE Username =
'mleurent(a)sip.bob.net' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 3
radius_xlat: 'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
FROM radgroupcheck,usergroup WHERE usergroup.Username =
'mleurent(a)sip.bob.net' AND usergroup.GroupName =
radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat: 'SELECT id, UserName, Attribute, Value, op
FROM radreply WHERE Username =
'mleurent(a)sip.bob.net' ORDER BY id'
radius_xlat: 'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
FROM radgroupreply,usergroup WHERE usergroup.Username =
'mleurent(a)sip.bob.net' AND usergroup.GroupName =
radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): Released sql socket id: 3
modcall[authorize]: module "sql" returns ok for request 4
rlm_python [freeradius-cdrtool]: entering the authorization phase ...
rlm_python [freeradius-cdrtool]: ignoring unsupported method.
modcall[authorize]: module "python" returns ok for request 4
modcall: leaving group authorize (returns ok) for request 4
auth: type Local
auth: No User-Password or CHAP-Password attribute in the request
auth: Failed to validate the user.
Login incorrect: [mleurent(a)sip.bob.net/<no User-Password attribute>]
(from client private port 0)
Delaying request 4 for 1 seconds
Marc LEURENT a écrit :
Good afternoon, I'm trying to use the
radius_does_uri_exist()
function to check if the user exist before forwarding it to
voicemail when it's not enable. I'm using radius AAA and the
radius_does_uri_exist() seems to fail.. Any idea how to solve it?
Thanks
# -- uri_radius paramaters -- modparam("uri_radius",
"radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("uri_radius", "service_type", 11) # Radius service
type used in radius_does_uri_exist check.
....... if (!lookup("location")) { if (radius_does_uri_exist()) { #
Will Redirect to voicemail when fixed sl_send_reply("480",
"Temporarily Unaivailable - Will Redirect To Voicemail"); exit; };
xlog("L_DBG", "ACC RADIUS: 404 NOT FOUND FOR $si \r\n");
sl_send_reply("404", "Not Found"); exit;
.....
When I'm trying to call aeron which is not connected but exists, I
have a 404 not found whereas I should have a 480...
root@krusty:[~L/freeradius]# tail -f radius.log Mon Jan 14 16:08:18
2008 : Auth: Login incorrect: [aeron(a)sip.bob.net/<no User-Password
attribute>] (from client private port 0)
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
Marc LEURENT a écrit :
Good afternoon, I'm trying to use the
radius_does_uri_exist()
function to check if the user exist before forwarding it to
voicemail when it's not enable. I'm using radius AAA and the
radius_does_uri_exist() seems to fail.. Any idea how to solve it?
Thanks
# -- uri_radius paramaters -- modparam("uri_radius",
"radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("uri_radius", "service_type", 11) # Radius service
type used in radius_does_uri_exist check.
....... if (!lookup("location")) { if (radius_does_uri_exist()) { #
Will Redirect to voicemail when fixed sl_send_reply("480",
"Temporarily Unaivailable - Will Redirect To Voicemail"); exit; };
xlog("L_DBG", "ACC RADIUS: 404 NOT FOUND FOR $si \r\n");
sl_send_reply("404", "Not Found"); exit;
.....
When I'm trying to call aeron which is not connected but exists, I
have a 404 not found whereas I should have a 480...
root@krusty:[~L/freeradius]# tail -f radius.log Mon Jan 14 16:08:18
2008 : Auth: Login incorrect: [aeron(a)sip.bob.net/<no User-Password
attribute>] (from client private port 0)
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFHi4bJN4+o+2LtdFwRAjS+AJ9ACuLWPfBaYkA0jtzfgr4HQ1DkmQCgw8fu
Lq9xsylwoWAuyZzBlCqwww8=
=ohEg
-----END PGP SIGNATURE-----