Displaying 4 results from an estimated 4 matches for "asterisk_command".
2014 Dec 17
0
broken pipe question
Hi Dale,
I am in fact doing all the items you suggest. here is a log.
For normal commands I am logging off just fine.
Its just the heartbeat command I am getting an error on when logging out.
Thoughts?
Jerry
------
asterisk_command() Action: Login
asterisk_command() Username: XXXXX
asterisk_command() Secret: XXXXX
asterisk_command() Events: off
asterisk_execute() event_list=0 ret=36 last_command='Events: off' Response:
Success[CR ][LF ]Message: Authentication accepted[CR ][LF ][CR ][LF ]
asterisk_command() Action: Com...
2014 Dec 16
3
broken pipe question
I am running a heartbeat... Asterisk 11.15.0 - same behaviour is noticed on
1.4.43 also
I issue a call through the API that does the below. just UserEvent and
Hangup
-- Executing [s at heartbeat:1] UserEvent("Local/s at heartbeat-0000000f;2",
"HeartBeat, Noop") in new stack
-- Executing [s at heartbeat:2] Hangup("Local/s at heartbeat-0000000f;2",
2009 Feb 16
3
command show channels concise
I am getting a priveldged command error on the manager API.
16-Feb-09 11:51 am asterisk_command() Action: Login
16-Feb-09 11:51 am asterisk_command() Username: XXX
16-Feb-09 11:51 am asterisk_command() Secret: ZZZZ
16-Feb-09 11:51 am asterisk_command() Events: off
16-Feb-09 11:51 am DEBUG: Response: Success[CR ][LF ]Message:
Authentication accepted[CR ][LF ][CR ][LF ]
16-Feb-09 11:51 am aste...
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
Dear all,
I want to make call through socket i have set code given below:
#!/usr/bin/perl -w
use IO::Socket::INET;
sub asterisk_command ()
{
# my $command=$_[0];
my
$ami=IO::Socket::INET->new(PeerAddr=>'127.0.0.1',PeerPort=>5038,Proto=>'tcp')
or die "failed to connect to AMI!";
print $ami "Action: Login\r\nUsername: lite\r\nSecret:
4003\r\n\r\nAction: Logof...