Hi, Gary!

As the documentation indicates, you should pass the parameters separated by comma. You can try something like this:

curl "http://127.0.0.1:8888/JSON/get_statistics?params=tm:,dialog:";

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 09/18/2014 11:41 PM, Gary Nyquist wrote:
Hi,

I am trying to use the MI interface to generate SIP MESSAGE packets locally
and send out to remote SIP UA.

The 'opensipsctl fifo' method works fine.
The 'mi_datagram' method works fine.

But not able to make "mi_json" work with "t_uac_dlg".
Basically, can't figure out how the parameters for "t_uac_dlg" be formatted for 
the mi_json query.

Reading the manual, I understand that the "parameters are to be comma-separated then 
URI-encoded."
The following working fine:
curl 10.0.0.30:8888/json/get_statistics?params=all

But can't figure out how to pass the parameters for "t_uac_dlg" command.

Any help / advice?

Thanks
-Gary

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to