AsterNet command returns only last line
See original GitHub issueI’m sending the command below using C # and AsterNet.
The command executes, but only returns the last line of the command’s response.
CommandAction cmdAction = new CommandAction ();
cmdAction.Command = "core show channels";
var response = manager.SendAction(cmdAction);
Ex: response: “0 calls processed”
Does anyone know how I do to return all lines of the command response?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
c# - AsterNet comand
The command executes, but only returns the last line of the command's response. CommandAction cmdAction = new CommandAction (); cmdAction.
Read more >How to display only the last line of a listing
This will display only the last line of ls -ltr 's output. You can control the number of lines by changing the value...
Read more >Core Show Channel Command · Issue #55 · AsterNET ...
However, this itself doesn't return a result, but tells Asterisk to send 'CoreShowChannels' ... AsterNet command returns only last line #233.
Read more >Untitled
I'm sending the command below using C # and AsterNet. The command executes, but only returns the last line of the command's response....
Read more >How can we append asterisk (*) at the end of last line ...
That command will find all files even with spaces then append a * to the last line of all the .txt files found...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a correction by changing Helper.cs
I added this line:
that is great thanks very much.