aboutsummaryrefslogtreecommitdiffstats
path: root/src/telnet_interface.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-01-06 23:10:57 +0000
committerHarald Welte <laforge@gnumonks.org>2009-01-06 23:10:57 +0000
commit38c2f13098abb18ad58785bf473692ef4e0211fa (patch)
tree36cf196b9d2093c6aee458a619267692c18394e1 /src/telnet_interface.c
parentb68899d3e3f581cfa0b8d943cc90fddfe1596412 (diff)
Hook the paging code into bsc_hack.c and telnet_interface.c
Wrote and test code to add and remove paging requests... This will be using the fact that the linux list is building a circle on each tick we can send one/x paging requests and continue round robin...
Diffstat (limited to 'src/telnet_interface.c')
-rw-r--r--src/telnet_interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/telnet_interface.c b/src/telnet_interface.c
index 7da53fda5..4eb9bcb4b 100644
--- a/src/telnet_interface.c
+++ b/src/telnet_interface.c
@@ -31,6 +31,7 @@
#include <openbsc/gsm_04_08.h>
#include <openbsc/msgb.h>
#include <openbsc/abis_rsl.h>
+#include <openbsc/paging.h>
extern void telnet_parse(struct telnet_connection *connection, char *line);
@@ -174,7 +175,7 @@ void telnet_page(struct telnet_connection *connection, const char *imsi, int typ
if (!subscr)
return;
- rsl_paging_cmd_subscr(bts, type, subscr);
+ page_request(bts, subscr, type);
}
void telnet_put_channel(struct telnet_connection *connection, const char *imsi) {