summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pbx_status.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pbx_status.erl b/src/pbx_status.erl
index 74a60af..e4c455f 100644
--- a/src/pbx_status.erl
+++ b/src/pbx_status.erl
@@ -1,9 +1,13 @@
-module(pbx_status).
--export([decode/1, encode/0, value/1]).
+-export([decode/1, encode/0, value/1, opcode/0]).
+-include("opcodes.hrl").
-include("CSTA-system-status.hrl").
+opcode() ->
+ ?STATUS.
+
decode(Data) ->
'CSTA-system-status':decode('SystemStatusArg', Data).