[OpenSIPS-Users] dialog module mi dlg_list not working as expected?

Vlad Patrascu vladp at opensips.org
Mon Nov 16 22:42:32 EST 2020


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 at sbc2 ~]# opensips-cli -x mi dlg_list | grep 
> 209eaf197691d8a937eb9d514104679c
>             "callid": 
> "209eaf197691d8a937eb9d514104679c at 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 at sbc2 ~]# opensips-cli -x mi dlg_list 
> 209eaf197691d8a937eb9d514104679c at 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 at sbc2 ~]# opensips-cli -x mi dlg_list 
> callid=209eaf197691d8a937eb9d514104679c at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201117/1bf1539d/attachment.html>


More information about the Users mailing list