Module: kamailio
Branch: master
Commit: 08ee7330922e9e2b4d8fd8d5f63f596c84e2c81c
URL:
https://github.com/kamailio/kamailio/commit/08ee7330922e9e2b4d8fd8d5f63f596…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-07-31T15:50:45+02:00
dispatcher: intit oc rate max limit
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/08ee7330922e9e2b4d8fd8d5f63f596…
Patch:
https://github.com/kamailio/kamailio/commit/08ee7330922e9e2b4d8fd8d5f63f596…
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index bdb615ad3ea..8295145da0f 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -603,6 +603,7 @@ ds_dest_t *pack_dest(str iuri, int flags, int priority, str *attrs,
int dload)
dp->flags = flags;
dp->priority = priority;
dp->dload = dload;
+ dp->attrs.ocmax = 100;
if(ds_set_attrs(dp, attrs) < 0) {
LM_ERR("cannot set attributes!\n");