[OpenSIPS-Users] May I ask for some help with MI interface please
Liviu Chircu
liviu at opensips.org
Mon Jul 6 12:08:44 EST 2020
On 7/6/20 2:52 PM, Adrian Fretwell wrote:
>
> For the benefit of anyone else struggling with this, I eventually
> worked out that the example in the documentation should read:
>
> {"jsonrpc":"2.0","method":"get_statistics","id":"1065",
> "params":[["dialog:", "tm:"]]}
>
> This sets the list of statistics as an array in the params array (note
> the extra []).
>
> It's such a simple thing, but it has taken me 8 hours of trial and
> error to work out what was wrong.
>
Hey, Adrian!
Thank you for the report - this is now fixed [1] on 3.0+.
[1]: https://github.com/OpenSIPS/opensips/commit/3b0d2d15
--
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
More information about the Users
mailing list