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/obsolete/uri_radius
Victor Seva 4a31eece25
upstream 4.0.1 version. No sipwise patches.
13 years ago
..
doc upstream 4.0.1 version. No sipwise patches. 13 years ago
Makefile upstream 4.0.1 version. No sipwise patches. 13 years ago
README upstream 4.0.1 version. No sipwise patches. 13 years ago
checks.c upstream 4.0.1 version. No sipwise patches. 13 years ago
checks.h upstream 4.0.1 version. No sipwise patches. 13 years ago
urirad_mod.c upstream 4.0.1 version. No sipwise patches. 13 years ago
urirad_mod.h upstream 4.0.1 version. No sipwise patches. 13 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()) {
    ...
};
...