[SR-Users] UAC RPC Commands problem

Volkan Oransoy voransoy at gmail.com
Thu Aug 10 19:30:39 CEST 2017


Thank you Daniel,

It worked like you describe.

/Volkan



> On 10 Aug 2017, at 18:10, Daniel-Constantin Mierla <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 <mailto:sr-users at lists.kamailio.org>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> 
> -- 
> Daniel-Constantin Mierla
> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Kamailio Advanced Training - www.asipto.com <http://www.asipto.com/>
> Kamailio World Conference - www.kamailioworld.com <http://www.kamailioworld.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170810/5ceef99e/attachment.html>


More information about the sr-users mailing list