Displaying 7 results from an estimated 7 matches for "sendcommand".
Did you mean:
send_command
2009 May 20
2
Manager ExtensionState function
...);
$astman->secret('mark');
$astman->host('127.0.0.1');
$astman->connect || die $astman->error . "\n";
$astman->setcallback('Hangup', \&hangup_callback);
$astman->setcallback('DEFAULT', \&default_callback);
my %out = $astman->sendcommand(
Action => 'ExtensionState',
Context => demo1,
Exten => 11,
ActionID => 1,
);
if( $out{'Sta...
2012 Mar 01
1
using AMI and Telnet to place calls
Hello,
I am using a perl script to pull call info from a DB and place calls via
telnet and AMI, all on local machine of course. My problem is that I
need to capture any response from the carier, such as this taht appears
in the CLI:
[Mar 1 12:55:50] == Using SIP RTP CoS mark 5
[Mar 1 12:55:50] -- Got SIP response 503 "No Circuit Available"
back from xxx.xxx.xxx.xxx:5060
[Mar
2003 Dec 02
0
'Stop Now', 'Restart' problems
I'm not sure where to start looking for a solution on this. I use use
Asterisk::Manager to reload Asterisk with a command like:
$astman->sendcommand( Action => 'Command', Command => 'Reload' );
After a while, when I try to do a manual restart or 'stop now', asterisk
will not exit.
Any thoughts on where to look for a resolution?
Ray
--
Scanned for viruses and dangerous content at
http://www.oneunified.net a...
2013 Aug 01
0
Question Asterisk Manager
Hi
A small question on Asterisk Manager. I use Perl Script for start a call:
my $response = $astman->sendcommand( Action => 'Originate',
Channel =>
'SIP/ASTERISK/$Extension',
Exten => '200',
Context => 'MyContext',...
2006 Aug 03
2
bringToTop without focus?
Hi all who know R on Windows,
Quick question: Is there a way to do "bringToTop(stay=TRUE)" without giving "focus"? I would like to pop a graph window but I would like to preserve focus in the window which I was in before.
Thanks for any lead,
Chris
2011 Jun 16
1
Web based call back
Hi,
I am looking for a simple solution to do this.
I wish to have the user to enter their preferred method of connection i.e.
for the cheapest solution to their desktop phone or mobile phone, then plan
callfile based on the number that user provided and dial to the user.
Any suggestions?
CK
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...defined(%event);
foreach (keys %event) {
syslog('debug', "$_: ". $event{$_} .
"\n" );
}
syslog('debug', "\n");
for ($event{'Event'}) {
# Variable read example
# print STDERR $astman->sendcommand(
Action => 'Getvar', Channel => $event{'Channel'},
Variable => 'DNID' );
$event{'Callerid'} = $1 if defined
$event{'Callerid'} && $event{'Callerid'} =~
/<(\d*)>/;
/newchannel/i && do {
my $call_origin = "ori...