[asterisk-commits] seanbright: branch 1.8 r355529 - /branches/1.8/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 15 13:26:41 CST 2012


Author: seanbright
Date: Wed Feb 15 13:26:38 2012
New Revision: 355529

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355529
Log:
When IAX2 debugging is enabled, make sure to log 'apathetic' messages too.

Modified:
    branches/1.8/channels/chan_iax2.c

Modified: branches/1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_iax2.c?view=diff&rev=355529&r1=355528&r2=355529
==============================================================================
--- branches/1.8/channels/chan_iax2.c (original)
+++ branches/1.8/channels/chan_iax2.c Wed Feb 15 13:26:38 2012
@@ -4717,6 +4717,10 @@
 	data.f.oseqno = 0;
 	data.f.type = AST_FRAME_IAX;
 	data.f.csub = compress_subclass(command);
+
+	if (iaxdebug) {
+		iax_outputframe(NULL, &data.f, 0, sin, size - sizeof(struct ast_iax2_full_hdr));
+	}
 
 	return sendto(sockfd, &data, size, 0, (struct sockaddr *)sin, sizeof(*sin));
 }




More information about the asterisk-commits mailing list