Add a new osmo_rtp_set_source_desc() function to set the RTCP SDES items

This allows the users of libosmotrau to set the content of the SDES
items to something more useful than their compile-time defaults.

Change-Id: Ice794f9e0c6caeea1c67520c12efbfa375d1fb82
Related: OS#2701
diff --git a/TODO-RELEASE b/TODO-RELEASE
index d0852fc..b02e1eb 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what		description / commit summary line
+libosmotrau	addition	New osmo_rtp_set_source_desc() wrapper around libortp
diff --git a/include/osmocom/trau/osmo_ortp.h b/include/osmocom/trau/osmo_ortp.h
index 578b1cb..5fb2960 100644
--- a/include/osmocom/trau/osmo_ortp.h
+++ b/include/osmocom/trau/osmo_ortp.h
@@ -100,5 +100,8 @@
 				uint32_t *recv_packets, uint32_t *recv_octets,
 				uint32_t *recv_lost, uint32_t *last_jitter);
 
+void osmo_rtp_set_source_desc(struct osmo_rtp_socket *rs, const char *cname,
+				const char *name, const char *email, const char *phone,
+				const char *loc, const char *tool, const char *note);
 
 #endif /* _OSMO_ORTP_H */
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index fab020d..8ea05e4 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -655,3 +655,10 @@
 	if (jitter)
 		*last_jitter = jitter->jitter;
 }
+
+void osmo_rtp_set_source_desc(struct osmo_rtp_socket *rs, const char *cname,
+				const char *name, const char *email, const char *phone,
+				const char *loc, const char *tool, const char *note)
+{
+	rtp_session_set_source_description(rs->sess, cname, name, email, phone, loc, tool, note);
+}