Module: kamailio
Branch: master
Commit: ad31292170f632a381c1f95cbf955ca71f046244
URL:
https://github.com/kamailio/kamailio/commit/ad31292170f632a381c1f95cbf955ca…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-08-08T10:15:19+02:00
dispatcher: print priority in oclist rpc command
---
Modified: src/modules/dispatcher/dispatcher.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ad31292170f632a381c1f95cbf955ca…
Patch:
https://github.com/kamailio/kamailio/commit/ad31292170f632a381c1f95cbf955ca…
---
diff --git a/src/modules/dispatcher/dispatcher.c b/src/modules/dispatcher/dispatcher.c
index 50ddd1f4c45..a9744ba2c10 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -2287,8 +2287,9 @@ static void dispatcher_rpc_oclist(rpc_t *rpc, void *ctx)
rpc->fault(ctx, 500, "Internal error root reply");
return;
}
- if(rpc->struct_add(th, "dSduuujjuu", "group", group,
"uri",
- &node->dlist[i].uri, "flags", node->dlist[i].flags,
"ocrate",
+ if(rpc->struct_add(th, "dSdduuujjuu", "group", group,
"uri",
+ &node->dlist[i].uri, "flags", node->dlist[i].flags,
+ "priority", node->dlist[i].priority, "ocrate",
node->dlist[i].ocdata.ocrate, "ocidx",
node->dlist[i].ocdata.ocidx, "ocseq",
node->dlist[i].ocdata.ocseq, "octime_sec",