Displaying 1 result from an estimated 1 matches for "ast_hostname".
Did you mean:
dst_hostname
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...ko <kapitan@portaone.com>
#
use strict;
use Asterisk::Manager;
use Sys::Syslog;
use POSIX;
use Config::IniFiles;
use Authen::Radius;
Authen::Radius->load_dictionary;
# Lock file
#
my $lock_file = '/var/run/ast-rad-acc.pid';
# Config vars
#
my $runas_user = 'nobody';
my $ast_hostname = 'localhost';
my $ast_username = 'test';
my $ast_password = 'test';
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 $c...