You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules_s/uri_radius
Andrew Pogrebennyk 7c059e4647
update to 3.3.0 from upstream
14 years ago
..
doc update to 3.3.0 from upstream 14 years ago
Makefile Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
README update to 3.3.0 from upstream 14 years ago
checks.c Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
checks.h Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
urirad_mod.c Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
urirad_mod.h Start versioning of kamailio-3.1-sipwise in svn. 15 years ago

README

1. Uri_radius Module

Juha Heinanen

   Song Networks

   Copyright © 2003 Juha Heinanen
     __________________________________________________________________

   1.1. Overview
   1.2. Dependencies
   1.3. Parameters

        1.3.1. radius_config (string)
        1.3.2. service_type (integer)

   1.4. Functions

        1.4.1. radius_does_uri_exist()

1.1. Overview

   URI check using Radius server.

1.2. Dependencies

   The following libraries or applications must be installed before
   running SER with this module loaded:
     * radius client library.

1.3. Parameters

1.3.1. radius_config (string)

   Radiusclient configuration file.

   Default value is "/usr/local/etc/radiusclient/radiusclient.conf".

   Example 1. Set param_name parameter
...
modparam("uri_radius", "radius_config", "/etc/radiusclient.conf")
...

1.3.2. service_type (integer)

   Radius service type used in radius_does_uri_exist check.

   Default value is 10 (Call-Check).

   Example 2. Set param_name parameter
...
modparam("uri_radius", "service_type", 11)
...

1.4. Functions

1.4.1.  radius_does_uri_exist()

   Checks from Radius if user@host in Request-URI is a local user. Can be
   used to decide if 404 or 480 should be returned after lookup has
   failed. Adds SIP-AVP reply items, that must have a string value of form
   "name:value", as AVPs.

   Example 3. radius_does_uri_exist usage
...
if (radius_does_uri_exist()) {
    ...
};
...