[SR-Users] kamcmd uac.* commands dont find records

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 21 10:59:41 CEST 2019


Hello,

just sake of completion, do not forget '-h' for these apps:

kamcmd -h

I think it should be also noted in 'man kamcmd', if not, it should be added.

Cheers,
Daniel

On 21.06.19 10:45, Karsten Horsmann wrote:
> Hi List,
>
> dunno why my google skills get better after writing you an email.
> If its look like an number but your backend 
> is saved as string, you need an s: as prefix - so my understanding.
>
> I need to prefix all with s: for string then and it works.
>
> kamcmd uac.reg_enable auth_username s:FFFFFFFFFFFF
>
> https://lists.kamailio.org/pipermail/sr-users/2017-August/098168.html  
>
>
> Am Fr., 21. Juni 2019 um 10:18 Uhr schrieb Karsten Horsmann
> <khorsmann at gmail.com <mailto:khorsmann at gmail.com>>:
>
>     Good morning List!
>
>     I have an issue with my kamcmd from kamailio 5.2.3 on CentOS 7.6
>     with kamailio-rpms.
>
>     The kamcmd util can not find my registrations via command 
>     kamcmd uac.reg_enable auth_username FFFFFFFFFFFF 
>     kamcmd uac.reg_info l_username +49XXXXXXXX
>     and soone. Only global commands for uac works.
>
>     Whats going wrong with my kamcmd? Any ideas? Thank for your hints!
>
>     # kamcmd uac.reg_dump
>     {
>             l_uuid: 49XXXXXXX
>             l_username: +49XXXXXXXX
>             l_domain: sip-trunk.telekom.de <http://sip-trunk.telekom.de>
>             r_username: +49XXXXXXXX
>             r_domain: sip-trunk.telekom.de <http://sip-trunk.telekom.de>
>             realm: sip-trunk.telekom.de <http://sip-trunk.telekom.de>
>             auth_username: FFFFFFFFFFFF
>             auth_password: ***************
>             auth_proxy: sip:reg.sip-trunk.telekom.de
>     <http://reg.sip-trunk.telekom.de>
>             expires: 360
>             flags: 20
>             diff_expires: 129
>             timer_expires: 1561103682
>             reg_init: 1561101919
>             reg_delay: 3
>     }
>     # kamcmd uac.reg_enable auth_username FFFFFFFFFFFF
>     error: 404 - Record not found
>
>
>     -- 
>     Kind regards
>     Mit freundlichen Grüßen
>     *Karsten Horsmann*
>
>
>
> -- 
> Mit freundlichen Grüßen
> *Karsten Horsmann*
>
> _______________________________________________
> 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.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

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


More information about the sr-users mailing list