No problem Alex!
Thanks Daniel :). I'm glad I'm using 4.2.3 :D
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Alex Balashov
Sent: Friday, March 27, 2015 3:08 PM
To: sr-users(a)lists.sip-router.org
Subject: Re: [SR-Users] Reload htable
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#jso
nrpc-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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users