Heya
I try to use mutli tree mtree to define multiple 'named' prefixes.
id(int,auto) tname(string) tprefix(string) tvalue(string) 0:tech:+1:1 0:tech:+9:1 0:cust:+1:1 0:cust:+9:0
Kamailio is not complaining while loading this file, but mtree.summary shows no entries.
Any hint on what I may be do wrong?
Hello,
have you tried to run with debug=3 in kamailio.cfg? You should see many more debug messages that hopefully would provide more details about what happens.
Note that this is not working if you also define a mtree modparam. So, if you can't sort it out, it would be good to see the modparams for mtree to try to help more.
Cheers, Daniel
On 12.08.22 14:00, Benoît Panizzon wrote:
Heya
I try to use mutli tree mtree to define multiple 'named' prefixes.
id(int,auto) tname(string) tprefix(string) tvalue(string) 0:tech:+1:1 0:tech:+9:1 0:cust:+1:1 0:cust:+9:0
Kamailio is not complaining while loading this file, but mtree.summary shows no entries.
Any hint on what I may be do wrong?
-- Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi Daniel
have you tried to run with debug=3 in kamailio.cfg? You should see many more debug messages that hopefully would provide more details about what happens.
Note that this is not working if you also define a mtree modparam. So, if you can't sort it out, it would be good to see the modparams for mtree to try to help more.
Yes I sorted that out with @oej
My misunderstanding was that I believed I could load multiple mtree with one modparam("mtree", "mtree",.. line and believed the name= parameter would not matter because the tree name was defined in the file.
Now I understood, that you can have multiple mtree names in one file, but you need load one specific tree name with one modparam() line, thus there is no much benefit in having multiple mtree names in a file as you can not create new names 'on the fly' and then do kamcmd mtree.reload to make them appear if those names are not configured in a modparam("mtree"..) entry.
Mit freundlichen Grüssen
-Benoît Panizzon-