<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(&quot;mtree&quot;, &quot;db_url&quot;, CFGDB)<br>modparam(&quot;mtree&quot;, &quot;mtree&quot;, &quot;name=nts;dbtable=service_numbers_view;type=0;&quot;)<br>modpmodparam(&quot;mtree&quot;, &quot;char_list&quot;, &quot;0123456789*+#YMDabcdefgh&quot;)<br>
modparam(&quot;mtree&quot;, &quot;pv_value&quot;, &quot;$avp(mtval)&quot;)<br>modparam(&quot;mtree&quot;, &quot;pv_values&quot;, &quot;$avp(mtvals)&quot;)</div>
<div> </div>
<div>The thing is, that i tried all:</div>
<div> </div>
<div>if(!mt_match(&quot;nts&quot;, &quot;$avp(DID)&quot;,&quot;1&quot;))</div>
<div>if(!mt_match(&quot;nts&quot;, &quot;$avp(DID)&quot;,&quot;2&quot;))</div>
<div>if(!mt_match(&quot;nts&quot;, &quot;$avp(DID)&quot;,&quot;0&quot;))</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>