[sr-dev] git:master:64a17f55: ndb_mongodb: exported exec function to KEMI also as execx

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 25 09:06:48 CET 2019


Module: kamailio
Branch: master
Commit: 64a17f5587f95145365345de474810de151acdd6
URL: https://github.com/kamailio/kamailio/commit/64a17f5587f95145365345de474810de151acdd6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-25T09:05:07+01:00

ndb_mongodb: exported exec function to KEMI also as execx

---

Modified: src/modules/ndb_mongodb/ndb_mongodb_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/64a17f5587f95145365345de474810de151acdd6.diff
Patch: https://github.com/kamailio/kamailio/commit/64a17f5587f95145365345de474810de151acdd6.patch

---

diff --git a/src/modules/ndb_mongodb/ndb_mongodb_mod.c b/src/modules/ndb_mongodb/ndb_mongodb_mod.c
index 75b10056a8..4bf760915d 100644
--- a/src/modules/ndb_mongodb/ndb_mongodb_mod.c
+++ b/src/modules/ndb_mongodb/ndb_mongodb_mod.c
@@ -453,6 +453,11 @@ static sr_kemi_t sr_kemi_ndb_mongodb_exports[] = {
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
 			SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE }
 	},
+	{ str_init("ndb_mongodb"), str_init("execx"),
+		SR_KEMIP_INT, ki_mongodbc_exec,
+		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
+			SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE }
+	},
 	{ str_init("ndb_mongodb"), str_init("find"),
 		SR_KEMIP_INT, ki_mongodbc_find,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,




More information about the sr-dev mailing list