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(a)gmail.com <mailto:khorsmann@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(a)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