[sr-dev] dialplan.translate error

Victor V. Kustov coyote at bks.tv
Fri Nov 25 12:48:51 CET 2016


When "kamcmd dialplan.translate" calling it wait 2 parameters with type
autodetection. 

In documentation:

 kamcmd dp_translate 1 "abcdxyz"

But if second parameter contains only numbers, we had error:

 kamcmd dialplan.translate 3 111222

 error: 500 - Invalid parameters

or with 

 kamcmd dialplan.translate 3 "111222"

It's incorrect. Correct:

 kamcmd dialplan.translate 3 s:111222

Please fix documentation.


--
 WBR, Victor



More information about the sr-dev mailing list