mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-29 19:13:56 +00:00
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.
This commit is contained in:
@@ -118,11 +118,10 @@ int silent_call_reroute(struct gsm_subscriber_connection *conn, struct msgb *msg
|
|||||||
/* initiate a silent call with a given subscriber */
|
/* initiate a silent call with a given subscriber */
|
||||||
int gsm_silent_call_start(struct gsm_subscriber *subscr, void *data, int type)
|
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,
|
req = subscr_request_channel(subscr, type, paging_cb_silent, data);
|
||||||
paging_cb_silent, data);
|
return req != NULL;
|
||||||
return rc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end a silent call with a given subscriber */
|
/* end a silent call with a given subscriber */
|
||||||
|
|||||||
Reference in New Issue
Block a user