Module: kamailio
Branch: master
Commit: 0580ad2eb7f5fd829a2c7c7394ffadc0ca7f85a9
URL:
https://github.com/kamailio/kamailio/commit/0580ad2eb7f5fd829a2c7c7394ffadc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2018-11-02T11:11:49+01:00
Merge pull request #1704 from micmac1/dp_replace
dialplan: fix dp_replace() in cmd_export_t struct
---
Modified: src/modules/dialplan/dialplan.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0580ad2eb7f5fd829a2c7c7394ffadc…
Patch:
https://github.com/kamailio/kamailio/commit/0580ad2eb7f5fd829a2c7c7394ffadc…
---
diff --git a/src/modules/dialplan/dialplan.c b/src/modules/dialplan/dialplan.c
index 39ba1ceeff..a96b246b72 100644
--- a/src/modules/dialplan/dialplan.c
+++ b/src/modules/dialplan/dialplan.c
@@ -115,7 +115,7 @@ static cmd_export_t cmds[]={
ANY_ROUTE},
{"dp_match",(cmd_function)w_dp_match, 2, fixup_igp_spve,
fixup_free_igp_spve, ANY_ROUTE},
- {"dp_replace",(cmd_function)w_dp_replace, 2, dp_replace_fixup,
+ {"dp_replace",(cmd_function)w_dp_replace, 3, dp_replace_fixup,
dp_replace_fixup_free, ANY_ROUTE},
{0,0,0,0,0,0}
};