Re: [SR-Users] fifo dp_translate

2010-12-30 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Or, if your tool is using sercmd to send the dp_translate command, try > prefixing the parameter with 's:' to tell is string (see 'sercmd -h' for > more - it tries to auto-detect and convert numbers). it works as # sip-proxy_ctl mi_dg dp_translate 10 s:995881

Re: [SR-Users] fifo dp_translate

2010-12-30 Thread Daniel-Constantin Mierla
On 12/30/10 7:35 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: could be because mi function returns null -- mi_translate returns 0 in couple of cases. Can you run with higher debug level and send the output? looks like dp_translate does not get the second argument correctly or al

Re: [SR-Users] fifo dp_translate

2010-12-29 Thread Juha Heinanen
Borin writes: > Probably is there other way to check why kamailio does not use the rule > properly? we need to understand why wrong argument value is passes to mi_translate function and get it fixed. -- juha ___ SIP Express Router (SER) and Kamailio (

Re: [SR-Users] fifo dp_translate

2010-12-29 Thread Borin
I also get the same result while executing kamctl fifo dp_translate 10 123456789 500 command 'dp_translate' failed Probably is there other way to check why kamailio does not use the rule properly? On Thu, Dec 30, 2010 at 7:35 AM, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > > > cou

Re: [SR-Users] fifo dp_translate

2010-12-29 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > could be because mi function returns null -- mi_translate returns 0 in > couple of cases. Can you run with higher debug level and send the > output? looks like dp_translate does not get the second argument correctly or alternatively there is a problem with the

Re: [SR-Users] fifo dp_translate

2010-12-29 Thread Daniel-Constantin Mierla
On 12/29/10 7:32 PM, Juha Heinanen wrote: Borin writes: is there a possibility to check working dialplan rules in kamailio (ver 1.4) with the command kamctl fifo dp_translate ? "fifo which" shows that there is such command but I can't figure out how to use it. some rules are not working and

[SR-Users] fifo dp_translate

2010-12-29 Thread Juha Heinanen
Borin writes: > is there a possibility to check working dialplan rules in kamailio (ver > 1.4) with the command kamctl fifo dp_translate ? "fifo which" shows that > there is such command but I can't figure out how to use it. some rules are > not working and I want to check if kamailio loads every

[SR-Users] fifo dp_translate

2010-12-29 Thread Borin
Hello everyone is there a possibility to check working dialplan rules in kamailio (ver 1.4) with the command kamctl fifo dp_translate ? "fifo which" shows that there is such command but I can't figure out how to use it. some rules are not working and I want to check if kamailio loads everything fr