[asterisk-commits] seanbright: trunk r355531 - in /trunk: ./ channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 15 13:29:29 CST 2012
Author: seanbright
Date: Wed Feb 15 13:29:26 2012
New Revision: 355531
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355531
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
........
Merged revisions 355530 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/channels/chan_iax2.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=355531&r1=355530&r2=355531
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Feb 15 13:29:26 2012
@@ -4720,6 +4720,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