[asterisk-commits] kharwell: branch kharwell/pimp_sip_media_neg r385381 - /team/kharwell/pimp_si...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 11 16:49:53 CDT 2013
Author: kharwell
Date: Thu Apr 11 16:49:49 2013
New Revision: 385381
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=385381
Log:
removed some commented out code that was no longer needed
Modified:
team/kharwell/pimp_sip_media_neg/channels/chan_gulp.c
Modified: team/kharwell/pimp_sip_media_neg/channels/chan_gulp.c
URL: http://svnview.digium.com/svn/asterisk/team/kharwell/pimp_sip_media_neg/channels/chan_gulp.c?view=diff&rev=385381&r1=385380&r2=385381
==============================================================================
--- team/kharwell/pimp_sip_media_neg/channels/chan_gulp.c (original)
+++ team/kharwell/pimp_sip_media_neg/channels/chan_gulp.c Thu Apr 11 16:49:49 2013
@@ -361,40 +361,6 @@
buf[strlen(buf) - 1] = '\0';
}
return 0;
-
- /* struct ast_format fmt; */
- /* const char *name; */
- /* int size = 0; */
-
- /* ast_format_cap_iter_start(session->offer_caps); */
- /* while (!ast_format_cap_iter_next(session->offer_caps, &fmt)) { */
- /* if (AST_FORMAT_GET_TYPE(fmt.id) != media_type) { */
- /* continue; */
- /* } */
-
- /* name = ast_rtp_lookup_mime_subtype2(1, &fmt, 0, 0); */
-
- /* if (ast_strlen_zero(name)) { */
- /* continue; */
- /* } */
-
- /* /\* add one since we'll include a comma *\/ */
- /* size = strlen(name) + 1; */
- /* len -= size; */
- /* if ((len) < 0) { */
- /* break; */
- /* } */
-
- /* strncat(buf, name, size); */
- /* strncat(buf, ",", 1); */
- /* } */
- /* ast_format_cap_iter_end(session->offer_caps); */
-
- /* if (size) { */
- /* /\* remove the extra comma *\/ */
- /* buf[strlen(buf) - 1] = '\0'; */
- /* } */
- /* return 0; */
}
static int media_offer_av_set(struct ast_sip_session *session, const char *value, enum ast_format_type media_type)
More information about the asterisk-commits
mailing list