Hello Rick, Sometimes the RPC can get confused with the number data types. You could try to add a "s:" in front of this variables.
Thanks for the positive feedback. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com -----Original Message----- From: sr-users <[email protected]> On Behalf Of Rick van Rein Sent: Wednesday, April 27, 2022 2:08 PM To: [email protected] Subject: [SR-Users] Getting "uac.reg_add" to work (documentation unclarities) Hello, I am trying to make UAC register with a SIP telco. But when I run... shell$ kamctl rpc uac.reg_add mydomain.com 0123456789 myteldomain.com 0123456789 sip6.telco.nl telcoreseller.nl 999999 secretpw . udp:sip6.telco.nl 360 0 10 'udp:[fd8:9::10]:5090' ...it gives me the cryptic response... ERROR: jsonrpcs [jsonrpcs_mod.c:666]: jsonrpc_scan(): field is not a string - type 3 The module docs only give "..." as example of attributes. And, according to... http://www.kamailio.net/docs/modules/5.4.x/modules/uac.html#uac.r.uac.reg_add https://github.com/kamailio/kamailio/blob/5.4.4/src/modules/uac/uac_reg.c#1844-1865 ...it also seems to be behind on diff_expires, timer_expires, reg_init. What I am missing is the format, and in some cases the purpose of attributes. Could you help me to an example, perhaps based on the command I am trying? Thanks, -Rick P.S. It's been years since I worked with OpenSIPS. It feels like Kamailio is friendlier, and easier to use. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
