On Wed, Feb 19, 2014 at 07:57:55AM +0100, Andreas Eversberg wrote:
Dear Andreas, Harald,
the osmo-bsc_nat would require a dummy tch_frame_down implementation.
The NAT is using libbsc for bsc_msc.c and gsm48_create_mm_serv_rej,
gsm48_create_loc_upd_rej, gsm48_extract_mi, gsm48_paging_extract_mi and
gsm_net_update_ctype.
Currently libbsc depends on libtrau. Can we move the rtp_socket to
another library? Or move out the code used by nat to another libbsc?
What do you think?
holger
+int tch_frame_down(struct gsm_network *net, uint32_t
callref, struct gsm_data_frame *data);
+/* dummy function to keep rtp_proxy.c happy */
+int tch_frame_down(struct gsm_network *net, uint32_t callref, struct gsm_data_frame
*data)
+{
+ return 0;
+}
+/* dummy function to keep rtp_proxy.c happy */
+int tch_frame_down(struct gsm_network *net, uint32_t callref, struct gsm_data_frame
*data)
+{
+ return 0;
+}
+/* dummy function to keep rtp_proxy.c happy */
+int tch_frame_down(struct gsm_network *net, uint32_t callref, struct gsm_data_frame
*data)
+{
+ return 0;
+}
> +
--- a/openbsc/tests/gbproxy/gbproxy_test.c
+++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -34,6 +34,12 @@
#define SGSN_NSEI 0x0100
+/* dummy function to keep rtp_proxy.c happy */
+int tch_frame_down()
+{
+ return 0;
+}
+