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

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 1 11:11:51 CEST 2020


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: } elseif(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
> 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

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


More information about the sr-users mailing list