Can you try to use quotes for prefix in command line? I think the +
doesn't have to be escaped.
Cheers,
Daniel
On 05/09/14 11:02, Juha Heinanen wrote:
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
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 -
http://www.asipto.com
Sep 22-25, Berlin, Germany