Hi,
I use Kamailio 5.0. I try to run RPC commands for UAC module but some of them doesn’t work like documented.
kamcmd uac.reg_dump kamcmd uac.reg_reload
These commands work as expected. But commands with extra arguments give error.
kamcmd> uac.reg_refresh 908508850000 error: 400 - Invalid Parameters
kamcmd> uac.reg_info l_uuid 908508850000 error: 404 - Record not found
Do I miss something?
Thanks,
/Volkan
Hello,
try with:
uac.reg_refresh s:908508850000
kamcmd does to auto-convert when it detects the parameter is a number. By prefixing with s: you enforce string param.
Cheers, Daniel
On 10.08.17 15:15, Volkan Oransoy wrote:
OK, I added an entry in FAQ, given that this question was asked several times, hopefully it becomes more visible in web searches:
- https://www.kamailio.org/wiki/tutorials/faq/main#kamcmd_sometime_fails_to_ex...
Cheers, Daniel
On 10.08.17 19:30, Volkan Oransoy wrote: