summaryrefslogtreecommitdiff
path: root/src/pbx_status.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbx_status.erl')
-rw-r--r--src/pbx_status.erl29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/pbx_status.erl b/src/pbx_status.erl
index 0b90a94..74a60af 100644
--- a/src/pbx_status.erl
+++ b/src/pbx_status.erl
@@ -1,8 +1,4 @@
-module(pbx_status).
--behaviour(gen_event).
-
--export([init/1, handle_event/2, handle_call/2, handle_info/2,
- terminate/2, code_change/3]).
-export([decode/1, encode/0, value/1]).
@@ -15,27 +11,4 @@ encode() ->
'CSTA-system-status':encode('SystemStatusRes', {noData, []}).
value({ok, #'SystemStatusArg'{systemStatus = Status}}) ->
- Status;
-
-value(Data) ->
- value(decode(Data)).
-
-%%%
-
-init(_Args) ->
- {ok, []}.
-
-handle_event(_Event, State) ->
- {ok, State}.
-
-handle_call(_Request, State) ->
- {ok, ok, State}.
-
-handle_info(_Info, State) ->
- {ok, State}.
-
-terminate(_Reason, _State) ->
- ok.
-
-code_change(_OldVsn, State, _Extra) ->
- {ok, State}.
+ Status.