On Wednesday 29 May 2019 at 22:01:11, Jason wrote:
> I am communicating
How?
> with Asterisk 13.18.3 over the AMI and issue the command:
>
> ActionID: 11
> Action: command
> Command: core show calls
>
> And the response I get is:
>
> Response: Follows
> Privilege: Command
> ActionID: 11
> --END COMMAND-
What happens if (at pretty much the same time) you run the command "core show
calls" in the Asterisk command console?
> But where is the call data?
On my system (Asterisk 13.14.1) I get:
Action: Command
Command: core show calls
Response: Follows
Privilege: Command
0 active calls
0 calls processed
--END COMMAND--
> What is going wrong on this system? I confirmed the AMI connection has
> full read/write permissions. Why is the call data missing from the
> response?
How are you connecting and what are you using to parse the response?
Try a simple telnet and see if the result is the same:
$ telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Asterisk Call Manager/2.9.0
Action: login
Username: myusername
Secret: secretpassword
Response: Success
Message: Authentication accepted
Event: FullyBooted
Privilege: system,all
Status: Fully Booted
Action: Command
Command: core show calls
Response: Follows
Privilege: Command
0 active calls
0 calls processed
--END COMMAND--
Antony.
Response: Goodbye
Message: Thanks for all the fish.
--
3 logicians walk into a bar. The bartender asks "Do you all want a drink?"
The first logician says "I don't know."
The second logician says "I don't know."
The third logician says "Yes!"
Please reply to the list;
please *don't* CC me.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users