[SR-Users] long l_uuid in uac_reg

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 11 23:10:28 CET 2015


Hello,

this looks like kamcmd auto-convert -- if you give a parameter that is
number and you want to be considered string, then prefix it with s: - like:

kamcmd uac.reg_enable l_uuid s:0034567890

See also 'kamcmd -h'.

Cheers,
Daniel

On 11/02/15 14:06, kovarik at odorik.cz wrote:
> Hello,
> rpc funcions:
> reg_info,reg_enable,reg_disable not work if l_uuid is number and size >
> than 10,
>
> for 1234567890 is O.K. and for 12345678901 try to find 18446744073170328629.
>
> kamcmd uac.reg_enable l_uuid 1234567890 -- found
> kamcmd uac.reg_enable l_uuid 12345678901 -- not found
>
> and if number start with zero then zero is cut.
> kamcmd uac.reg_enable l_uuid 0034567890 -- 34567890
>
> I add debug to uac_reg.c
> 1615 LM_ERR("START %.*s,%.*s\n", attr.len,attr.s,val.len, val.s);
>
> Thaks
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list