aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_protocol.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 15:41:03 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 22:01:20 +0200
commit13d67b7ea331fdc6a0ef271a5839221c44f2d0d5 (patch)
treeaeabfce7b8e94f0adf5eee45d12455d6d3ae618e /openbsc/src/mgcp/mgcp_protocol.c
parent95e4d34f06567521087121fb5fbdc0f9c9d48ae7 (diff)
[mgcp] Remove the sending of RSIP
This message is ignored by the call agent and we were sending this on the first request which we maybe should not ignore...
Diffstat (limited to 'openbsc/src/mgcp/mgcp_protocol.c')
-rw-r--r--openbsc/src/mgcp/mgcp_protocol.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c
index a825e92f5..5ae35702a 100644
--- a/openbsc/src/mgcp/mgcp_protocol.c
+++ b/openbsc/src/mgcp/mgcp_protocol.c
@@ -194,23 +194,6 @@ static struct msgb *create_response_with_sdp(struct mgcp_endpoint *endp,
return mgcp_create_response_with_data(200, msg, trans_id, sdp_record);
}
-/* send a static record */
-struct msgb *mgcp_create_rsip(void)
-{
- struct msgb *msg;
- int len;
-
- msg = mgcp_msgb_alloc();
- if (!msg)
- return NULL;
-
- len = snprintf((char *) msg->data, 2048,
- "RSIP %u *@mgw MGCP 1.0\n"
- "RM: restart\n", generate_transaction_id());
- msg->l2h = msgb_put(msg, len);
- return msg;
-}
-
/*
* handle incoming messages:
* - this can be a command (four letters, space, transaction id)