Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/14077 )

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

osmux: Fix hardcoded 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I24698a9613bc0de9460c6ad2d1067c152ebcf0b2
Gerrit-Change-Number: 14077
Gerrit-PatchSet: 3
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to