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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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,


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to