Displaying 2 results from an estimated 2 matches for "mgrport".
Did you mean:
airport
2006 Jan 27
3
paging agi
...0/0.0.0.0
# permit=127.0.0.0/255.0.0.0
# read = system,call,log,verbose,command,agent,user
# write = system,call,log,verbose,command,agent,user
# IF that's what you have in your conf file, this is what you should have
here:
my $mgruser = "admin";
my $mgrpass = "amp111";
my $mgrport = 5038;
# set our array of phones that we will NOT be paging
@bypass = @ARGV;
# Get our needed info for idle sip phones
@sips = grep(/^\s+\d+\s.*/, `asterisk -rx "show hints"`);
# Now check each sip phone to see if it's in use and also
# against our exclude list. If it passes both,...
2011 Apr 05
1
allpage issu on asterisk 1.8.3.x
...nf room.
following is sample of script ( I am pasting half script )
# Now, we have an array (@tocall) with all valid SIP extensions.
while (my $sipxtn = shift @tocall) {
print "VERBOSE \"Doing $sipxtn\" 0\n";
# Open connection to AGI
my $tn = new Net::Telnet ( Port => $mgrport,
Prompt => '/.*[\$%#>] $/',
Output_record_separator => '',
Input_Log=> "/tmp/input.log",
Output_Log=> "/tmp/output.log",
Errmode...