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.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pbx_status.erl b/src/pbx_status.erl
index 74a60af..67e4766 100644
--- a/src/pbx_status.erl
+++ b/src/pbx_status.erl
@@ -1,11 +1,12 @@
-module(pbx_status).
--export([decode/1, encode/0, value/1]).
+-export([decode/1, encode/0]).
-include("CSTA-system-status.hrl").
decode(Data) ->
- 'CSTA-system-status':decode('SystemStatusArg', Data).
+ Status = 'CSTA-system-status':decode('SystemStatusArg', Data),
+ value(Status).
encode() ->
'CSTA-system-status':encode('SystemStatusRes', {noData, []}).