[SR-Users] kamcmd mtree.match

Volker Denneberg v.denneberg at m3connect.de
Sun May 31 00:02:33 CEST 2020


Hi,

given this mtree

kamcmd mtree.list siteId
{
        tname: siteId
        tprefix: 00492419697994
        tvalue: {
                00492419697994 2388
        }
}
{
        tname: siteId
        tprefix: 492415310752
        tvalue: {
                492415310752 2388
        }
}

i wonder why this lookup fails:

kamcmd mtree.match siteId 49241531075212 0
error: 500 - Invalid Parameters

My expectation was that 2nd tprefix should match.

I am using

        modparam("mtree", "db_table", "mtrees")
        modparam("mtree", "char_list", "0123456789+")
        modparam("mtree", "mt_tree_type", 0)            # payload type for tree data : string

Thanks in advance,
Volker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200530/0be423c9/attachment.html>


More information about the sr-users mailing list