$result = $asm->Command(“queue show 3000”); was always returning good information as
request array:Privilege: Command 3000 has 0 calls (max unlimited) in ‘rrordered’ strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 60s Members: 2001 (Local/2001@from-queue/n from hint:2001@ext-local) (ringinuse enabled) (Unavailable) has taken no calls yet No Callers
above is exactly as command response appearing on CLI
but after upgrading to version 16.5 response is like following
$result = $asm->Command(“queue show 3000”); is returning something like following.
Dont know what class are you using, but if is returning information as array try to use print_r() to output the array value. And please dont send me private messages unless you will pay for personal consultancy, I can reply for free but only on the public boardm if I have the time and knowldege about the issue posted
The format of the response to the CLI command action was changed:
AMI:
- The Command action now sends the output from the CLI command as a series
of Output headers for each line instead of as a block of text with the
--END COMMAND-- delimiter to match the output from other actions.
Commands that fail to execute (no such command, invalid syntax etc.) now
return an Error response instead of Success.
If this is unsupported by the code, then it will fail.