kamcmd does auto-convert when it detects the parameter is a number. By prefixing with s: you enforce string param.

Try this instead:
kamcmd uac.reg_add s:789798 s:789798 s:mydomain.com s:789798 s:myteldomain.com . s:789798 s:123456 . sip:sip6.telco.nl  360 0 10 mydomain.com:5060 udp:mydomain.com:5060

Regards,
Sergiu
--
Teams PBX connector with full MS Direct Routing automation for service providers
Webhttps://teamsphone.net

On Fri, Jan 5, 2024 at 10:09 PM mm e via sr-users <sr-users@lists.kamailio.org> wrote:
./kamcmd uac.reg_add 789798 789798 mydomain.com 789798 myteldomain.com .  789798 123456 . sip:sip6.telco.nl  360 0 10 mydomain.com:5060 udp:mydomain.com:5060


error: 400 - Invalid Parameters

Can you provide me with a case, I don't know how to enter the correct format.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: