[SR-Users] Reload htable

Alex Balashov abalashov at evaristesys.com
Fri Mar 27 15:08:19 CET 2015


On 03/27/2015 10:05 AM, Daniel-Constantin Mierla wrote:

> actually it is possible to execute rpc commands (e.g., htable.reload)
> from kamailio.cfg, starting with version 4.2 -- you have to use
> jsonrpc-s module and jsonrpc_exec() function:
>
> http://www.kamailio.org/docs/modules/stable/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_exec
>
> Practically, you have to build the corresponding json document for the
> command and give it as parameter.

Ha! Voila!

Terribly sorry that I missed this, Grant.

-- 
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list