Displaying 1 result from an estimated 1 matches for "rad_sec".
Did you mean:
r_sec
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...9;;
my $monitor_dir = '/var/spool/asterisk/monitor';
# Read global RADIUS configuratuin from
extensions.conf
#
# I havte doing that but Asterisk manager interface
can not read global variables
#
my $config_dir = '/usr/local/etc/asterisk';
# Globals
#
my %channels;
my ($rad_serv, $rad_sec, $nas_ip);
# Check if already running
#
if( -e $lock_file ) {
open(PID,$lock_file);
my $pid=<PID>;
close PID;
chomp $pid;
if( !-e "/proc/$pid" ) {
print STDERR "Lock file present, but no process
with pid=$pid.\n";
die "Can't delete lock...