From 7c8a62a9406ab33feecd890b044f001aee7fadd9 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 14 Oct 2016 17:56:17 +0200 Subject: mgcp: handle responses from the MGCP GW Change-Id: I5c0493feaec775461b5a017c36b93cc2ad63c896 --- openbsc/tests/db/db_test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'openbsc/tests') diff --git a/openbsc/tests/db/db_test.c b/openbsc/tests/db/db_test.c index 2720b25e1..f1eadc268 100644 --- a/openbsc/tests/db/db_test.c +++ b/openbsc/tests/db/db_test.c @@ -264,18 +264,22 @@ void vlr_proc_acc_req() {} void vlr_init() {} unsigned int mgcpgw_client_next_endpoint(struct mgcpgw_client *client) { return 0; } -int mgcpgw_client_tx_crcx(struct mgcpgw_client *client, +int mgcpgw_client_tx_crcx(struct mgcpgw_client *mgcp, + mgcp_response_cb_t response_cb, void *priv, uint16_t rtp_endpoint, unsigned int call_id, enum mgcp_connection_mode mode) { return -ENOTSUP; } -int mgcpgw_client_tx_mdcx(struct mgcpgw_client *client, uint16_t rtp_endpoint, - const char *rtp_conn_addr, uint16_t rtp_port, - enum mgcp_connection_mode mode) +int mgcpgw_client_tx_mdcx(struct mgcpgw_client *mgcp, + mgcp_response_cb_t response_cb, void *priv, + uint16_t rtp_endpoint, const char *rtp_conn_addr, + uint16_t rtp_port, enum mgcp_connection_mode mode) { return -ENOTSUP; } const char *mgcpgw_client_remote_addr_str(struct mgcpgw_client *mgcp) { return "0.0.0.0"; } uint32_t mgcpgw_client_remote_addr_n(struct mgcpgw_client *mgcp) { return 0; } +int mgcp_response_parse_params(struct mgcp_response *r) +{ return -EINVAL; } struct RANAP_Cause; int iu_tx_release(struct ue_conn_ctx *ctx, const struct RANAP_Cause *cause) { return 0; } -- cgit v1.2.3