Skip to content

Commit

Permalink
MI JSON-RPC commands: Fix incorrect examples
Browse files Browse the repository at this point in the history
Many thanks to Adrian Fretwell for the report!

(cherry picked from commit b429338)
  • Loading branch information
liviuchircu committed Jul 6, 2020
1 parent d2d0973 commit 3b0d2d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mi_datagram/doc/mi_datagram_admin.xml
Expand Up @@ -307,7 +307,7 @@ modparam("mi_fifo", "pretty_printing", 1)
<title>DATAGRAM request</title>
<programlisting format="linespecific">

{"jsonrpc":"2.0","method":"get_statistics","id":"1065","params":["dialog:","tm:"]}
{"jsonrpc":"2.0","method":"get_statistics","id":"1065","params":[["dialog:","tm:"]]}

</programlisting>
</example>
Expand Down
2 changes: 1 addition & 1 deletion modules/mi_fifo/doc/mi_fifo_admin.xml
Expand Up @@ -309,7 +309,7 @@ modparam("mi_fifo", "trace_bwlist", "w: sip_trace")
<title>FIFO request</title>
<programlisting format="linespecific">

:reply_fifo:{"jsonrpc":"2.0","method":"get_statistics","id":"5672","params":["dialog:","tm:"]}
:reply_fifo:{"jsonrpc":"2.0","method":"get_statistics","id":"5672","params":[["dialog:","tm:"]]}

</programlisting>
</example>
Expand Down

0 comments on commit 3b0d2d1

Please sign in to comment.