[asterisk-commits] seanbright: branch 10 r355530 - in /branches/10: ./ channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 15 13:27:33 CST 2012
Author: seanbright
Date: Wed Feb 15 13:27:29 2012
New Revision: 355530
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355530
Log:
When IAX2 debugging is enabled, make sure to log 'apathetic' messages too.
........
Merged revisions 355529 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/channels/chan_iax2.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_iax2.c?view=diff&rev=355530&r1=355529&r2=355530
==============================================================================
--- branches/10/channels/chan_iax2.c (original)
+++ branches/10/channels/chan_iax2.c Wed Feb 15 13:27:29 2012
@@ -4811,6 +4811,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