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/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to