Module: kamailio
Branch: master
Commit: 3716541db01c09bd00998bdbd0c35b3a842cdaf5
URL:
https://github.com/kamailio/kamailio/commit/3716541db01c09bd00998bdbd0c35b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/3716541db01c09bd00998bdbd0c35b3…
Patch:
https://github.com/kamailio/kamailio/commit/3716541db01c09bd00998bdbd0c35b3…
---
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,