Hello guys,
Is there any way to reload the address table in the cfg? I always need to use "kamctl address reload"...
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Not entirely clear what you mean by 'in the cfg'. If you wanted to reload it from the kam config logic upon some event, then you can always execute RPC commands like so:
jsonrpc_exec('{"jsonrpc": "2.0", "method": "permissions.addressReload ", "id": 1}');
On Mon, Oct 12, 2020 at 7:21 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
Is there any way to reload the address table in the cfg? I always need to use "kamctl address reload"...
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Try jsonrpc_exec()...
— Sent from mobile, with due apologies for brevity and errors.
On Oct 12, 2020, at 7:21 PM, David Villasmil david.villasmil.work@gmail.com wrote:
Hello guys,
Is there any way to reload the address table in the cfg? I always need to use "kamctl address reload"...
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
that's exactly what i did, thanks guys!! Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On Tue, Oct 13, 2020 at 1:27 AM Alex Balashov abalashov@evaristesys.com wrote:
Try jsonrpc_exec()...
— Sent from mobile, with due apologies for brevity and errors.
On Oct 12, 2020, at 7:21 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
Is there any way to reload the address table in the cfg? I always need to use "kamctl address reload"...
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users