Module: kamailio
Branch: master
Commit: d3a36ed6757eeda42dc32608a63b857ee9a67bb9
URL:
https://github.com/kamailio/kamailio/commit/d3a36ed6757eeda42dc32608a63b857…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-09T12:27:10+01:00
usrloc: adjusted rpc reply text when the location domain table is not found
---
Modified: src/modules/usrloc/ul_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d3a36ed6757eeda42dc32608a63b857…
Patch:
https://github.com/kamailio/kamailio/commit/d3a36ed6757eeda42dc32608a63b857…
---
diff --git a/src/modules/usrloc/ul_rpc.c b/src/modules/usrloc/ul_rpc.c
index 63c45381b5..d45a8e2783 100644
--- a/src/modules/usrloc/ul_rpc.c
+++ b/src/modules/usrloc/ul_rpc.c
@@ -402,7 +402,7 @@ static void ul_rpc_lookup(rpc_t* rpc, void* ctx)
/* look for table */
dom = rpc_find_domain( &table );
if (dom == NULL) {
- rpc->fault(ctx, 500, "Domain not found");
+ rpc->fault(ctx, 500, "Domain table not found");
return;
}
@@ -476,7 +476,7 @@ static void ul_rpc_rm_aor(rpc_t* rpc, void* ctx)
/* look for table */
dom = rpc_find_domain( &table );
if (dom == NULL) {
- rpc->fault(ctx, 500, "Domain not found");
+ rpc->fault(ctx, 500, "Domain table not found");
return;
}
@@ -520,7 +520,7 @@ static void ul_rpc_rm_contact(rpc_t* rpc, void* ctx)
/* look for table */
dom = rpc_find_domain( &table );
if (dom == NULL) {
- rpc->fault(ctx, 500, "Domain not found");
+ rpc->fault(ctx, 500, "Domain table not found");
return;
}
@@ -661,7 +661,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
/* look for table */
dom = rpc_find_domain( &table );
if (dom == NULL) {
- rpc->fault(ctx, 500, "Domain not found");
+ rpc->fault(ctx, 500, "Domain table not found");
return;
}