In case anybody else is having the same problem, I have noticed that when using the manager function command to send the command 'show channels concise' to Asterisk, the response is parsed incorrectly.
When the command is executed, Asterisk returns a list of ':' seperated data, which the ManagerMsg class parses. When the ManagerMsg class is parsing the data from Asterisk it includes this result of this command as a header and not data like it should be.
This can easily be fixed by going to line 97 in manager.py and removing the ',1' from the line.split function call. The line should read like
item = [x.strip() for x in line.split(':')]
This should fix the problem, and hopefully won't introduce any new ones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In case anybody else is having the same problem, I have noticed that when using the manager function command to send the command 'show channels concise' to Asterisk, the response is parsed incorrectly.
When the command is executed, Asterisk returns a list of ':' seperated data, which the ManagerMsg class parses. When the ManagerMsg class is parsing the data from Asterisk it includes this result of this command as a header and not data like it should be.
This can easily be fixed by going to line 97 in manager.py and removing the ',1' from the line.split function call. The line should read like
item = [x.strip() for x in line.split(':')]
This should fix the problem, and hopefully won't introduce any new ones.