On 27 Mar 2015, at 14:50, Alex Balashov wrote:
> This command is not exposed within the route script. This is a fairly common
> situation with modules; some "meta" functionality like this that is available
> externally (via MI, RPC, etc.) is not available within the route script.
http://kamail
No problem Alex!
Thanks Daniel :). I'm glad I'm using 4.2.3 :D
-Original Message-
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex
Balashov
Sent: Friday, March 27, 2015 3:08 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Reload hta
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
uter.org] On Behalf Of
> Alex Balashov
> Sent: Friday, March 27, 2015 2:50 PM
> To: sr-users@lists.sip-router.org
> Subject: Re: [SR-Users] Reload htable
>
> Grant,
>
> On 03/27/2015 09:44 AM, Grant Bagdasarian wrote:
>
>> I need to reload a htable from the database
Thanks Alex, for the detailed explanation! :)
-Original Message-
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex
Balashov
Sent: Friday, March 27, 2015 2:50 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Reload htable
Grant,
On 03/27/2015 09
Grant,
On 03/27/2015 09:44 AM, Grant Bagdasarian wrote:
I need to reload a htable from the database when a certain condition is
met inside my kamailio script.
I found the htable.reload htable RPC command, but is it possible to run
this from within the script?
This command is not exposed with
Hello,
I need to reload a htable from the database when a certain condition is met
inside my kamailio script.
I found the htable.reload htable RPC command, but is it possible to run this
from within the script?
Is there perhaps another way to force reload the htable inside the script?
Thanks,