Browse code

dispatcher(k): enable ds_reload also for rpc interface

- previous commit took the changes for mi

Daniel-Constantin Mierla authored on 30/03/2012 11:29:13
Showing 1 changed files
... ...
@@ -928,13 +928,6 @@ static const char* dispatcher_rpc_reload_doc[2] = {
928 928
  */
929 929
 static void dispatcher_rpc_reload(rpc_t* rpc, void* ctx)
930 930
 {
931
-	if(dstid_avp_name.n!=0) {
932
-		LM_ERR("No reload support when call load dispatching is enabled."
933
-				" Do not set dstid_avp param if you do not use alg 10.\n");
934
-		rpc->fault(ctx, 500, "Command disabled");
935
-		return ;
936
-	}
937
-
938 931
 	if(!ds_db_url.s) {
939 932
 		if (ds_load_list(dslistfile)!=0) {
940 933
 			rpc->fault(ctx, 500, "Reload Failed");