[sr-dev] mtree_match problem

Juha Heinanen jh at tutpro.com
Fri Sep 5 11:02:15 CEST 2014


i tried mt_match mi command that was introduced in master.  for some
reason, it does not match properly. here is an example.

# sip-proxy_ctl mi mt_list lp_out
MT::  TNAME=lp_out TPREFIX=+3587234567 TVALUE=20010
MT::  TNAME=lp_out TPREFIX=+3587234568 TVALUE=20010

# sip-proxy_ctl mi mt_match lp_out \+3587234567 2
error: 404 - Not found tvalue

i then changed LM_DBG to LM_INFO and got to syslog:

Sep  5 11:51:55 siika /usr/bin/sip-proxy[29498]: INFO: mtree [mtree_mod.c:1346]: mt_mi_match(): no prefix found in [lp_out] for [18446744073001818887]

i also tried with "+3587234567", '+3587234567' and even with 3587234567
and got always the same result and syslog output.

any idea what goes wrong?

-- juha





More information about the sr-dev mailing list