Module: kamailio
Branch: master
Commit: 1d53ea3dba4e59b05b2e92ecc973c44159b9bb36
URL:
https://github.com/kamailio/kamailio/commit/1d53ea3dba4e59b05b2e92ecc973c44…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-07-04T13:06:48+02:00
sdpops: exported sdp with media functions to kemi framework
---
Modified: src/modules/sdpops/sdpops_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1d53ea3dba4e59b05b2e92ecc973c44…
Patch:
https://github.com/kamailio/kamailio/commit/1d53ea3dba4e59b05b2e92ecc973c44…
---
diff --git a/src/modules/sdpops/sdpops_mod.c b/src/modules/sdpops/sdpops_mod.c
index 8b28a35ddb..b47f824e33 100644
--- a/src/modules/sdpops/sdpops_mod.c
+++ b/src/modules/sdpops/sdpops_mod.c
@@ -2013,6 +2013,16 @@ static sr_kemi_t sr_kemi_sdpops_exports[] = {
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
+ { str_init("sdpops"), str_init("sdp_with_media"),
+ SR_KEMIP_INT, sdp_with_media,
+ { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("sdpops"), str_init("sdp_with_active_media"),
+ SR_KEMIP_INT, sdp_with_active_media,
+ { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
{ str_init("sdpops"), str_init("sdp_get"),
SR_KEMIP_INT, ki_sdp_get,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,