[sr-dev] git:master:649e3452: sdpops: Added missing definitions from our private repo
Carsten Bock
carsten at ng-voice.com
Fri Aug 26 12:01:18 CEST 2016
Module: kamailio
Branch: master
Commit: 649e3452a61b3934a3d687c31559643309ef9ca3
URL: https://github.com/kamailio/kamailio/commit/649e3452a61b3934a3d687c31559643309ef9ca3
Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date: 2016-08-26T12:01:09+02:00
sdpops: Added missing definitions from our private repo
---
Modified: modules/sdpops/sdpops_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/649e3452a61b3934a3d687c31559643309ef9ca3.diff
Patch: https://github.com/kamailio/kamailio/commit/649e3452a61b3934a3d687c31559643309ef9ca3.patch
---
diff --git a/modules/sdpops/sdpops_mod.c b/modules/sdpops/sdpops_mod.c
index 0e2700d..5813e29 100644
--- a/modules/sdpops/sdpops_mod.c
+++ b/modules/sdpops/sdpops_mod.c
@@ -515,6 +515,7 @@ static int w_sdp_remove_line_by_prefix(sip_msg_t* msg, char* prefix, char* bar)
static int w_sdp_remove_codecs_by_id(sip_msg_t* msg, char* codecs, char* media)
{
str lcodecs = {0, 0};
+ str lmedia = {0, 0};
if(codecs==0)
{
@@ -1837,12 +1838,12 @@ static int pv_parse_sdp_name(pv_spec_p sp, str *in)
static sr_kemi_t sr_kemi_sdpops_exports[] = {
{ str_init("sdpops"), str_init("remove_codecs_by_name"),
SR_KEMIP_INT, sdp_remove_codecs_by_name,
- { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("sdpops"), str_init("remove_codecs_by_id"),
SR_KEMIP_INT, sdp_remove_codecs_by_id,
- { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("sdpops"), str_init("keep_codecs_by_name"),
More information about the sr-dev
mailing list