diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-03 11:21:29 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-03 12:02:14 +0200 |
commit | b618c7ec9bd29c471a153da833bb50089f48d2f6 (patch) | |
tree | 97394951da17cf98dd773107d60b3cf7b4276c52 /openbsc/src/libmsc | |
parent | daaea0c84fee46d9b63b746d5ed2cdf66f990352 (diff) |
paging: Move the silent_call code to use the subscriber request
Coordinate with the normal subscriber channel requests instead
of going to page ourselves. This might lead to getting a channel
that is of a different type though.
Diffstat (limited to 'openbsc/src/libmsc')
-rw-r--r-- | openbsc/src/libmsc/silent_call.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openbsc/src/libmsc/silent_call.c b/openbsc/src/libmsc/silent_call.c index 010c2b4d2..e9ece1835 100644 --- a/openbsc/src/libmsc/silent_call.c +++ b/openbsc/src/libmsc/silent_call.c @@ -118,11 +118,10 @@ int silent_call_reroute(struct gsm_subscriber_connection *conn, struct msgb *msg /* initiate a silent call with a given subscriber */ int gsm_silent_call_start(struct gsm_subscriber *subscr, void *data, int type) { - int rc; + struct subscr_request *req; - rc = paging_request(subscr->group->net, subscr, type, - paging_cb_silent, data); - return rc; + req = subscr_request_channel(subscr, type, paging_cb_silent, data); + return req != NULL; } /* end a silent call with a given subscriber */ |