<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>I am using Mtree to match prefix numbers, some of them starts with 0 or characters like D for example.</div>
<div>so, the mtree param is like this:</div>
<div> </div>
<div>modparam("mtree", "db_url", CFGDB)<br>modparam("mtree", "mtree", "name=nts;dbtable=service_numbers_view;type=0;")<br>modpmodparam("mtree", "char_list", "0123456789*+#YMDabcdefgh")<br>
modparam("mtree", "pv_value", "$avp(mtval)")<br>modparam("mtree", "pv_values", "$avp(mtvals)")</div>
<div> </div>
<div>The thing is, that i tried all:</div>
<div> </div>
<div>if(!mt_match("nts", "$avp(DID)","1"))</div>
<div>if(!mt_match("nts", "$avp(DID)","2"))</div>
<div>if(!mt_match("nts", "$avp(DID)","0"))</div>
<div> </div>
<div>and lets say i have the both prefix in the nts mtree:</div>
<div>09555</div>
<div>09555333</div>
<div> </div>
<div>And the prefix i search for is $avp(DID)=09555444</div>
<div> </div>
<div>I allwasy get the 09555 because it is the longest match. </div>
<div>I need exact match.....</div>
<div> </div>
<div>how do i do that?</div>
<div> </div>
<div><br> </div>
<div> </div></div>