summaryrefslogtreecommitdiff
path: root/src/pbx_conn.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbx_conn.erl')
-rw-r--r--src/pbx_conn.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pbx_conn.erl b/src/pbx_conn.erl
index a4eecec..8326b84 100644
--- a/src/pbx_conn.erl
+++ b/src/pbx_conn.erl
@@ -28,6 +28,8 @@ handle_cast({error, Reason}, Socket) ->
handle_info({tcp, _, Data}, Socket) ->
pbx_acse:decode(Data),
+ Pdu = pbx_pdu:decode(Data),
+ io:format("PDU ~p~n", [Pdu]),
{noreply, Socket};
handle_info({tcp_closed, _}, Socket) ->