Hello,

 

Thanks, I fixed it in git master, will also backport where necessary.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Daniel-Constantin Mierla
Sent: Thursday, October 1, 2020 11:12 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Ilie Soltanici <iliusha.md@gmail.com>
Subject: Re: [SR-Users] dlg.list_match - Invalid matching key parameter

 

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