]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9657 [libsofia] This commit fixes missing HEP capture messages when incoming SIP...
authorTom Parrott <tomp@tomp.uk>
Wed, 29 Aug 2018 13:11:06 +0000 (13:11 +0000)
committerTom Parrott <tomp@tomp.uk>
Wed, 29 Aug 2018 13:11:06 +0000 (13:11 +0000)
libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c

index 6165c73feceabb812099f39a0bcee104417cf018..a9dd26cf0c7f0e1c6f16f95f5704aa11bc870769 100644 (file)
@@ -468,6 +468,9 @@ int tport_tls_recv(tport_t *self)
   if (self->tp_master->mr_dump_file)
     tport_dump_iovec(self, msg, n, iovec, veclen, "recv", "from");
 
+  if (self->tp_master->mr_capt_sock)
+    tport_capt_msg(self, msg, n, iovec, veclen, "recv");
+
   /* Mark buffer as used */
   msg_recv_commit(msg, N, 0);