diff options
author | Harald Welte <laforge@netfilter.org> | 2009-11-14 10:08:40 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-11-14 10:08:40 +0100 |
commit | a148233b5e03935584b842250b2b511eee782839 (patch) | |
tree | 207e093f409c9d8b5951c265ecfaf2180932243f /openbsc/include/openbsc | |
parent | 98f9c75094fcb54f7e7318a4cbfca04a8db8112f (diff) |
Add "silent call" feature to OpenBSC
This allows the administrator to use the vty interface to issue a silent
call to a given subscriber by using
"subscriber extension XXXX silent call start"
and stopping that silent call with
"subscriber extension XXXX silent call stop"
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 1af849684..9e5511f6f 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -39,6 +39,7 @@ enum signal_subsystems { SS_NM, SS_LCHAN, SS_SUBSCR, + SS_SCALL, }; /* SS_PAGING signals */ @@ -85,6 +86,13 @@ enum signal_subscr { S_SUBSCR_DETACHED, }; +/* SS_SCALL signals */ +enum signal_scall { + S_SCALL_SUCCESS, + S_SCALL_EXPIRED, + S_SCALL_DETACHED, +}; + typedef int signal_cbfn(unsigned int subsys, unsigned int signal, void *handler_data, void *signal_data); @@ -96,6 +104,12 @@ struct paging_signal_data { struct gsm_lchan *lchan; }; +struct scall_signal_data { + struct gsm_subscriber *subscr; + struct gsm_lchan *lchan; + void *data; +}; + /* Management */ int register_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data); void unregister_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data); |