aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/silent_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmsc/silent_call.c')
-rw-r--r--openbsc/src/libmsc/silent_call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/silent_call.c b/openbsc/src/libmsc/silent_call.c
index 131a1786b..590d01bbf 100644
--- a/openbsc/src/libmsc/silent_call.c
+++ b/openbsc/src/libmsc/silent_call.c
@@ -72,6 +72,7 @@ static int paging_cb_silent(unsigned int hooknum, unsigned int event,
return rc;
}
+#if 0
/* receive a layer 3 message from a silent call */
int silent_call_rx(struct gsm_subscriber_connection *conn, struct msgb *msg)
{
@@ -79,6 +80,7 @@ int silent_call_rx(struct gsm_subscriber_connection *conn, struct msgb *msg)
LOGP(DLSMS, LOGL_NOTICE, "Discarding L3 message from a silent call.\n");
return 0;
}
+#endif
struct msg_match {
uint8_t pdisc;
@@ -91,6 +93,7 @@ static const struct msg_match silent_call_accept[] = {
{ GSM48_PDISC_MM, GSM48_MT_MM_CM_SERV_REQ },
};
+#if 0
/* decide if we need to reroute a message as part of a silent call */
int silent_call_reroute(struct gsm_subscriber_connection *conn, struct msgb *msg)
{
@@ -114,6 +117,7 @@ int silent_call_reroute(struct gsm_subscriber_connection *conn, struct msgb *msg
LOGP(DLSMS, LOGL_INFO, "Rerouting L3 message from a silent call.\n");
return 1;
}
+#endif
/* initiate a silent call with a given subscriber */