Module: sip-router
Branch: master
Commit: 289dd5e992126a757f761b273e6e9036cf4691a2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=289dd5e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Mar 30 13:29:13 2012 +0200
dispatcher(k): enable ds_reload also for rpc interface
- previous commit took the changes for mi
---
modules_k/dispatcher/dispatcher.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/modules_k/dispatcher/dispatcher.c b/modules_k/dispatcher/dispatcher.c
index 2ef1af4..4757c64 100644
--- a/modules_k/dispatcher/dispatcher.c
+++ b/modules_k/dispatcher/dispatcher.c
@@ -928,13 +928,6 @@ static const char* dispatcher_rpc_reload_doc[2] = {
*/
static void dispatcher_rpc_reload(rpc_t* rpc, void* ctx)
{
- if(dstid_avp_name.n!=0) {
- LM_ERR("No reload support when call load dispatching is enabled."
- " Do not set dstid_avp param if you do not use alg 10.\n");
- rpc->fault(ctx, 500, "Command disabled");
- return ;
- }
-
if(!ds_db_url.s) {
if (ds_load_list(dslistfile)!=0) {
rpc->fault(ctx, 500, "Reload Failed");