Added limit to explode commands as any returned data containing additional : was being exploded to additional array elements and lost. ie. "Output: Something: Value" would only return "Something"
Removed conditions that only non-blank lines are returned in data. This was making returned data differ from what AGI actually returns and didn't match Asterisk 13- results.
Remove condition that data is only collected and returned if first Output: line is non-blank. This was causing any commands issued that returned a blank line on line 1 to return no data. ie.
"Action: Command
Command: parking show default"
would return no data since line 1 is always blank.
Added limit to explode commands as any returned data containing additional : was being exploded to additional array elements and lost. ie. "Output: Something: Value" would only return "Something"
Removed conditions that only non-blank lines are returned in data. This was making returned data differ from what AGI actually returns and didn't match Asterisk 13- results.
Remove condition that data is only collected and returned if first Output: line is non-blank. This was causing any commands issued that returned a blank line on line 1 to return no data. ie. "Action: Command Command: parking show default" would return no data since line 1 is always blank.