Module: kamailio
Branch: master
Commit: 9093f0d214e79bacf9a3a6a486f420bf92eed6f4
URL: 
https://github.com/kamailio/kamailio/commit/9093f0d214e79bacf9a3a6a486f420bf92eed6f4

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2017-06-09T08:25:29+02:00

tm: exported severat t set functions to kemi framework

---

Modified: src/modules/tm/tm.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9093f0d214e79bacf9a3a6a486f420bf92eed6f4.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9093f0d214e79bacf9a3a6a486f420bf92eed6f4.patch

---

diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index 6543db5ccd..e6fbde7eb8 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -2834,10 +2834,37 @@ static sr_kemi_t tm_kemi_exports[] = {
                { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },
+       { str_init("tm"), str_init("t_set_auto_inv_100"),
+               SR_KEMIP_INT, t_set_auto_inv_100,
+               { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+                       SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+       },
+       { str_init("tm"), str_init("t_set_disable_6xx"),
+               SR_KEMIP_INT, t_set_disable_6xx,
+               { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+                       SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+       },
+       { str_init("tm"), str_init("t_set_disable_failover"),
+               SR_KEMIP_INT, t_set_disable_failover,
+               { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+                       SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+       },
+       { str_init("tm"), str_init("t_set_no_e2e_cancel_reason"),
+               SR_KEMIP_INT, t_set_no_e2e_cancel_reason,
+               { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+                       SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+       },
+       { str_init("tm"), str_init("t_set_disable_internal_reply"),
+               SR_KEMIP_INT, t_set_disable_internal_reply,
+               { SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+                       SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+       },
+
 
        { {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
 };
 
+
 int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
        sr_kemi_modules_add(tm_kemi_exports);


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

Reply via email to