Module: kamailio
Branch: master
Commit: 36b8c1a138548ea3689cac77e18ac304ec2ee0e5
URL:
https://github.com/kamailio/kamailio/commit/36b8c1a138548ea3689cac77e18ac30…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-25T19:41:05+02:00
dialplan: increased the size for dialplan attributes to 256
---
Modified: src/modules/dialplan/dp_repl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/36b8c1a138548ea3689cac77e18ac30…
Patch:
https://github.com/kamailio/kamailio/commit/36b8c1a138548ea3689cac77e18ac30…
---
diff --git a/src/modules/dialplan/dp_repl.c b/src/modules/dialplan/dp_repl.c
index 85741677df..28d555bbdd 100644
--- a/src/modules/dialplan/dp_repl.c
+++ b/src/modules/dialplan/dp_repl.c
@@ -571,7 +571,7 @@ int rule_translate(sip_msg_t *msg, str string, dpl_node_t * rule,
return -1;
}
-#define DP_MAX_ATTRS_LEN 128
+#define DP_MAX_ATTRS_LEN 255
static char dp_attrs_buf[DP_MAX_ATTRS_LEN+1];
int translate(sip_msg_t *msg, str input, str *output, dpl_id_p idp,
str *attrs)