search for: mgrpass

Displaying 2 results from an estimated 2 matches for "mgrpass".

2011 Apr 05
1
allpage issu on asterisk 1.8.3.x
...gt; "/tmp/output.log", Errmode => 'return', ); $tn->open("127.0.0.1"); $tn->waitfor('/0\n$/'); $tn->print("Action: Login\n"); $tn->print("Username: $mgruser\n"); $tn->print("Secret: $mgrpass\n"); $tn->print("Events: off\n\n"); my ($pm, $m) = $tn->waitfor('/Authentication (.+)\n\n/'); if ($m =~ /Authentication failed/) { print "VERBOSE \"Incorrect MGRUSER or MGRPASS - unable to connect to manager interface\" 0\n"; ex...
2006 Jan 27
3
paging agi
...n] # secret = amp111 # deny=0.0.0.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...