[sr-dev] git:master:ce900ff7: sdpops: added missing parameter to sdp_remove_codecs_by_id

Carsten Bock carsten at ng-voice.com
Fri Aug 26 11:42:56 CEST 2016


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

Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date: 2016-08-26T11:42:47+02:00

sdpops: added missing parameter to sdp_remove_codecs_by_id

---

Modified: modules/sdpops/sdpops_mod.c

---

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

---

diff --git a/modules/sdpops/sdpops_mod.c b/modules/sdpops/sdpops_mod.c
index e65b663..0e2700d 100644
--- a/modules/sdpops/sdpops_mod.c
+++ b/modules/sdpops/sdpops_mod.c
@@ -537,7 +537,7 @@ static int w_sdp_remove_codecs_by_id(sip_msg_t* msg, char* codecs, char* media)
 		}
 	}
 
-	if(sdp_remove_codecs_by_id(msg, &lcodecs)<0)
+	if(sdp_remove_codecs_by_id(msg, &lcodecs, &lmedia)<0)
 		return -1;
 	return 1;
 }




More information about the sr-dev mailing list