[SR-Users] UAC RPC Commands problem

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 14 10:27:49 CEST 2017


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_execu

Cheers,
Daniel


On 10.08.17 19:30, Volkan Oransoy wrote:
> Thank you Daniel,
>
> It worked like you describe.
>
> /Volkan
>
>
>
>> On 10 Aug 2017, at 18:10, Daniel-Constantin Mierla <miconda at gmail.com
>> <mailto:miconda at gmail.com>> wrote:
>>
>> 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:
>>> 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
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> -- 
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - www.asipto.com
>> Kamailio World Conference - www.kamailioworld.com
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170814/14fb259a/attachment.html>


More information about the sr-users mailing list