[PATCH 02/11] mgcp: Add audio info fields to struct mgcp_rtp_end

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Wed May 14 05:31:51 UTC 2014


On Mon, May 12, 2014 at 12:38:58PM +0200, Jacob Erlbeck wrote:

> +	rtp->subtype_name = talloc_strdup(NULL, audio_codec);
> +	rtp->audio_name = talloc_strdup(NULL, audio_name);

Attach this to a context that at least belongs to a MGCP context.
Make sure to release these strings in mgcp_free_endp or in the
reset one. Or did I miss a call to set_audio_info?





More information about the OpenBSC mailing list