Hello; when i test to uac module , can't disable registration . after long time , i find the problem that rpc gives wrong value or uac module gives wrong value type so it nevers matches so it never disable registration. `` file : modules/uac/uac_reg.c `` `` function : rpc_uac_reg_update_flag `` `` line : if(rpc->scan(ctx, "S.S", &attr, &val)<2) `` value is "18446744073622652910" that must be 85030AXXXX like this. i tried to change "S.S" value but couldn't be success.
`` kamailio V 4.2.6 ``
`` 2.6.32-431.23.3.el6.x86_64 #1 ``
calling command like `` kamcmd uac.reg_disable l_uuid 85030AXXXX `` on shell
Could you check it. Thanks.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/290
This could be automatic conversion of the kamcmd -- it might detect is an hexa and use it as number.
Can you try with:
``` kamcmd uac.reg_disable l_uuid s:85030AXXXX ```
Note the s: before the value, that will force interpreting it as string.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/290#issuecomment-133648925
Closed #290.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/290#event-393977754
Hello Daniel; it is worked as you wrote it Thanks.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/290#issuecomment-135415162