I also get the same result while executing kamctl fifo dp_translate 10 123456789<br>500 command &#39;dp_translate&#39; failed<br>Probably is there other way to check why kamailio does not use the rule properly?<br><br><br>
<div class="gmail_quote">On Thu, Dec 30, 2010 at 7:35 AM, Juha Heinanen <span dir="ltr">&lt;<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Daniel-Constantin Mierla writes:<br>
<br>
&gt; could be because mi function returns null -- mi_translate returns 0 in<br>
&gt; couple of cases. Can you run with higher debug level and send the<br>
&gt; output?<br>
<br>
</div>looks like dp_translate does not get the second argument correctly or<br>
alternatively there is a problem with the debug message:<br>
<br>
# sip-proxy_ctl mi_dg dp_translate 10 9958814084445555<br>
error: 500 - execution failed<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: ctl [../../io_wait.h:390]: DBG: io_watch_add(0xb72d3860, 16, 3, 0x8541f48), fd_no=1<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: ctl [io_listener.c:452]: handle_stream read: new connection (1) on /tmp/sip-proxy_ctl<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:308]: regex operator testing<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dp_repl.c:337]: no matching rule<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: dialplan [dialplan.c:537]: could not translate 2147483647 with dpid 10<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: ctl [io_listener.c:505]: handle_stream read: eof on /tmp/sip-proxy_ctl<br>
Dec 30 08:33:28 sip /usr/sbin/sip-proxy[17355]: DEBUG: ctl [../../io_wait.h:617]: DBG: io_watch_del (0xb72d3860, 16, -1, 0x10) fd_no=2 called<br>
<font color="#888888"><br>
-- juha<br>
</font></blockquote></div><br>