Change in osmo-mgw[master]: osmux: Fix hadcoded rtp payload_type 98 in osmux conn

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri May 17 15:18:05 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/14077


Change subject: osmux: Fix hadcoded rtp payload_type 98 in osmux conn
......................................................................

osmux: Fix hadcoded rtp payload_type 98 in osmux conn

Depends on: libosmo-netif.git I5cbeb494a8932953d9fd2dc24dacf8cd97fd84e4
Change-Id: I24698a9613bc0de9460c6ad2d1067c152ebcf0b2
---
M src/libosmo-mgcp/mgcp_osmux.c
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/77/14077/1

diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index 38657ee..72d3b91 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -473,9 +473,10 @@
 		return -1;
 	}
 
-	osmux_xfrm_output_init(&conn->osmux.out,
+	osmux_xfrm_output_init2(&conn->osmux.out,
 			       (conn->osmux.cid * rtp_ssrc_winlen) +
-			       (random() % rtp_ssrc_winlen));
+			        (random() % rtp_ssrc_winlen),
+			       conn->end.codec->payload_type);
 
 	osmux_xfrm_output_set_tx_cb(&conn->osmux.out,
 				    scheduled_from_osmux_tx_rtp_cb, conn);

-- 
To view, visit https://gerrit.osmocom.org/14077
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I24698a9613bc0de9460c6ad2d1067c152ebcf0b2
Gerrit-Change-Number: 14077
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190517/7258fe55/attachment.html>


More information about the gerrit-log mailing list