[sr-dev] git:master:3716541d: sdpops: exported to kemi the functions to detect sdp with codecs

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 27 16:26:53 CEST 2019


Module: kamailio
Branch: master
Commit: 3716541db01c09bd00998bdbd0c35b3a842cdaf5
URL: https://github.com/kamailio/kamailio/commit/3716541db01c09bd00998bdbd0c35b3a842cdaf5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-06-27T16:26:20+02:00

sdpops: exported to kemi the functions to detect sdp with codecs

- sdp_with_codecs_by_id() and sdp_with_codecs_by_name()

---

Modified: src/modules/sdpops/sdpops_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3716541db01c09bd00998bdbd0c35b3a842cdaf5.diff
Patch: https://github.com/kamailio/kamailio/commit/3716541db01c09bd00998bdbd0c35b3a842cdaf5.patch

---

diff --git a/src/modules/sdpops/sdpops_mod.c b/src/modules/sdpops/sdpops_mod.c
index 11d8d69c2a..f71dfcf46b 100644
--- a/src/modules/sdpops/sdpops_mod.c
+++ b/src/modules/sdpops/sdpops_mod.c
@@ -2209,6 +2209,16 @@ static sr_kemi_t sr_kemi_sdpops_exports[] = {
 		{ 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_codecs_by_id"),
+		SR_KEMIP_INT, sdp_with_codecs_by_id,
+		{ 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_codecs_by_name"),
+		SR_KEMIP_INT, sdp_with_codecs_by_name,
+		{ 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,




More information about the sr-dev mailing list