Hello,

if you have time, just make a pull request for it and it will be merged.

See contributing guidelines:

  * https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md

Cheers,
Daniel

On 01.10.20 10:53, Ilie Soltanici wrote:
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@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.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla