We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm trying to send a command but the response is not complete.
Example: result, err := amiHandle.Action(map[string]string{"Action": "Command", "Command": "core show taskprocessors"})
The response: map[#:26 ActionID:e0d5f292-b2c5-4728-ad6a-df8213595f31 Message:Command output follows Output: Response:Success Time:2021-07-13T15:19:31.337807073Z]
If I connect by telnet to AMI, this is an example of the output:
Action: Command Command: core show taskprocessors
Response: Success Message: Command output follows Output: Output: Processor Processed In Queue Max Depth Low water High water Output: app_voicemail 0 0 0 450 500 Output: ast_msg_queue 0 0 0 450 500 Output: CCSS_core 0 0 0 450 500 Output: dns_system_resolver_tp 0 0 0 450 500 Output: hep_queue_tp 0 0 0 450 500 Output: pjsip/default-0000000b 29 0 2 450 500 Output: pjsip/default-0000000c 0 0 0 450 500 Output: pjsip/default-0000000d 0 0 0 450 500 Output: pjsip/default-0000000e 0 0 0 450 500 Output: pjsip/default-0000000f 0 0 0 450 500 Output: pjsip/default-00000010 0 0 0 450 500 Output: pjsip/default-00000011 0 0 0 450 500 Output: pjsip/default-00000012 0 0 0 450 500 Output: pjsip/distributor-00000023 369 0 1 450 500 Output: pjsi .....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying to send a command but the response is not complete.
Example:
result, err := amiHandle.Action(map[string]string{"Action": "Command", "Command": "core show taskprocessors"})
The response:
map[#:26 ActionID:e0d5f292-b2c5-4728-ad6a-df8213595f31 Message:Command output follows Output: Response:Success Time:2021-07-13T15:19:31.337807073Z]
If I connect by telnet to AMI, this is an example of the output:
Action: Command
Command: core show taskprocessors
Response: Success
Message: Command output follows
Output:
Output: Processor Processed In Queue Max Depth Low water High water
Output: app_voicemail 0 0 0 450 500
Output: ast_msg_queue 0 0 0 450 500
Output: CCSS_core 0 0 0 450 500
Output: dns_system_resolver_tp 0 0 0 450 500
Output: hep_queue_tp 0 0 0 450 500
Output: pjsip/default-0000000b 29 0 2 450 500
Output: pjsip/default-0000000c 0 0 0 450 500
Output: pjsip/default-0000000d 0 0 0 450 500
Output: pjsip/default-0000000e 0 0 0 450 500
Output: pjsip/default-0000000f 0 0 0 450 500
Output: pjsip/default-00000010 0 0 0 450 500
Output: pjsip/default-00000011 0 0 0 450 500
Output: pjsip/default-00000012 0 0 0 450 500
Output: pjsip/distributor-00000023 369 0 1 450 500
Output: pjsi
.....
The text was updated successfully, but these errors were encountered: