Hi Mark,

This is indeed a bug in the MI output for dlg_list when passing callid and/or from_tag params. I have pushed a fix, thanks for reporting!

Regards,

--
Vlad Patrascu
OpenSIPS Developer
http://www.opensips-solutions.com

On 16.11.2020 15:05, M S wrote:
Hi,
I think something is not working as expected with dialog:
I check this callid and it exists:
[root@sbc2 ~]# opensips-cli -x mi dlg_list | grep 209eaf197691d8a937eb9d514104679c             "callid": "209eaf197691d8a937eb9d514104679c@192.168.20.190:5060 <http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060>",

Then I try it like https://opensips.org/html/docs/modules/3.1.x/dialog.html#mi_dlg_list : [root@sbc2 ~]# opensips-cli -x mi dlg_list 209eaf197691d8a937eb9d514104679c@192.168.20.190:5060 <http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060> ERROR: command 'dlg_list' returned: -32602: Invalid params (Command only supports named parameters)

and if I go by my guess:
[root@sbc2 ~]# opensips-cli -x mi dlg_list callid=209eaf197691d8a937eb9d514104679c@192.168.20.190:5060 <http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060>
ERROR: command 'dlg_list' returned: -32000: Server error

something broken?

Mark

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to