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

Henning Westerholt hw at skalatan.de
Sat Oct 3 18:59:59 CEST 2020


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<https://gilawa.com/>

From: sr-users <sr-users-bounces at 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 at lists.kamailio.org>; Ilie Soltanici <iliusha.md at 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 at 192.168.0.1<mailto: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.



_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Funding: https://www.paypal.me/dcmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201003/03046fc3/attachment.htm>


More information about the sr-users mailing list