$Revision: 1.1 $
$Date: 2005/11/15 12:04:05 $

# Functions

## `acc_log_request(comment)`

`acc_request` reports on a request, for example, it can be used to report on missed calls to off-line users who are replied 404. To avoid multiple reports on UDP request retransmission, you would need to embed the action in stateful processing.

Meaning of the parameters is as follows:

- comment - Comment to be appended.

### acc_log_request usage

    ...
    acc_log_request("Some comment");
    ...

## `acc_db_request(comment, table)`

Like `acc_log_request`, `acc_db_request` reports on a request. The report is sent to database at "db_url", in the table referred to in the second action parameter

Meaning of the parameters is as follows:

- comment - Comment to be appended.

- table - Database table to be used.

### acc_db_request usage

    ...
    acc_log_request("Some comment", "Some table");
    ...

## `acc_rad_request(comment)`

Like `acc_log_request`, `acc_rad_request` reports on a request. It reports to radius server as configured in "radius_config".

Meaning of the parameters is as follows:

- comment - Comment to be appended.

### acc_rad_request usage

    ...
    acc_rad_request("Some comment");
    ...

## `acc_diam_request(comment)`

Like `acc_log_request`, `acc_diam_request` reports on a request. It reports to Diameter server.

Meaning of the parameters is as follows:

- comment - Comment to be appended.

### acc_diam_request usage

    ...
    acc_diam_request("Some comment");
    ...