$radius.preauth
Execute RADIUS Pre-Authentication
Available only in Advanced and upper Editions
Syntax:
$radius.preauth $radius.preauth( username, caller_ID, called-ID, password )
Parameters:
username – the username. If it is omitted, the username part of From-URI will be used.
caller-ID – the caller ID. If it is omitted, the From-URI will be used.
called-ID – the calee ID. If it is omitted, the To-URI will be used.
password – the password. It can be omitted.
Returns:
true – if the preauthentication succeeded.
false – If the preauthentication failed
Also property variables listed below will be set.
&preauth.result - the same value as the return value. &preauth.h323-return-code - H323-return-code value (if exists) &preauth.h323-credit-time - H323-credit-time value (if exists) &preauth.h323-credit-amount - H323-credit-amount value (if exists) &preauth.h323-currency - H323-currency value (if exists)
Version Since:
3.1
Where the function can be used:
- Preliminary rules
- Regular rules
Example:
Refer to RADIUS PreAuthentication.
See Also:
$radius.auth
RADIUS
RADIUS Authentication
RADIUS PreAuthentication