diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-05-26 22:56:59 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-03 12:51:10 +0200 |
commit | aa5fda4f46c2f6d87d02b6218147e49e51226b90 (patch) | |
tree | 16759d891123c46bd3aef84bca11efaea387a9bd /tests | |
parent | 1f1c56c62279bbe4203f8d8a8e8e4a771f3b4eda (diff) |
Re-introduce support for IPA-encapsulated MGCPlaforge/sccplite
Old osmo-bsc-sccplite already supported this, but in the migration
over to libosmo-sigtran and to real 3GPP AoIP, this functionality
got lost.
We now crate a UDP proxy socket. Any MGCP commands received via IPA
from MSC (or rather: bsc_nat) are retransmitted to the MGW via UDP on
this socket. Any responses back from the MGW received on the UDP
socket are retransmitted back to MSC/bsc_nat as MGCP inside the IPA
multiplex.
Closes: OS#2536
Change-Id: I38ad8fa645c08900e0e1f1b4b96136bc6d96b3ab
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bssap/bssap_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bssap/bssap_test.c b/tests/bssap/bssap_test.c index c9e7075e2..3754e08ca 100644 --- a/tests/bssap/bssap_test.c +++ b/tests/bssap/bssap_test.c @@ -160,3 +160,7 @@ struct gsm_subscriber_connection *bsc_subscr_con_allocate(struct gsm_network *ne int bsc_sccplite_rx_ctrl(struct osmo_ss7_asp *asp, struct msgb *msg) { OSMO_ASSERT(0); } + +int bsc_sccplite_rx_mgcp(struct osmo_ss7_asp *asp, struct msgb *msg) { + OSMO_ASSERT(0); +} |