summaryrefslogtreecommitdiff
path: root/src/tapi.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/tapi.erl')
-rw-r--r--src/tapi.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tapi.erl b/src/tapi.erl
index 570368f..c9ff2b1 100644
--- a/src/tapi.erl
+++ b/src/tapi.erl
@@ -7,7 +7,7 @@
terminate/2, code_change/3]).
-export([send/1, ext/0, co/0, snapshot/1, monitor/1, button/1,
- dial/2, fco/1]).
+ dial/2, fco/1, type/0]).
-include("config.hrl").
-include("opcodes.hrl").
@@ -79,3 +79,6 @@ dial(From, To) ->
fco(Device) ->
gen_server:cast(?SERVER, rose:invoke(?ESCAPE,
escape:deviceData({dialingNumber, Device}))).
+
+type() ->
+ gen_server:cast(?SERVER, rose:invoke(?ESCAPE, escape:pbxType())).