Add support for building RADIUS with radcli

Radcli is yet another RADIUS client library, generally compatible with
freeradius and radiusclient-ng.

This commit adds autoconf option for detecting it as well and changes
cdr_radius and cel_radius to use its header file in that case.

ASTERISK-26540 #close

Change-Id: I271f0715406334874865ffbce0b354b3a2ca148f
This commit is contained in:
Tzafrir Cohen
2016-11-12 20:15:12 +02:00
parent 7540036427
commit 97a75e3829
6 changed files with 134 additions and 15 deletions

View File

@@ -39,11 +39,7 @@
#include "asterisk.h"
#ifdef FREERADIUS_CLIENT
#include <freeradius-client.h>
#else
#include <radiusclient-ng.h>
#endif
#include RADIUS_HEADER_STR
#include "asterisk/channel.h"
#include "asterisk/cdr.h"