Answer the question
In order to leave comments, you need to log in
Convert to JSON?
Good afternoon! I make a script in it from the console I output data in this way
$output = shell_exec("asterisk -rx 'database show DND'");
echo "$output";
/DND/711 : YES
/DND/726 : YES
/DND/769 : YES
/DND/771 : YES
/DND/779 : YES
5 results found.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question