[SR-Users] dlg.list_match - Invalid matching key parameter

Ilie Soltanici iliusha.md at gmail.com
Thu Oct 1 10:53:58 CEST 2020


Hello,

The dlg.list_match rpc function from the dialog module is not able to find
dialogs matching by the callid key:
kamcmd dlg.list_match callid eq "01234567890 at 192.168.0.1"

getting back:
error: 500 - Invalid matching key parameter

I think it's because of this check:

2945:dialog.c: } else if(mkey.len==5 && strncmp(mkey.s, "callid", mkey.len
)==0) {

the mkey.len - should be 6 in this case, I recompiled locally the dialog
module and seems to be working ok.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201001/1bc60f74/attachment.htm>


More information about the sr-users mailing list