mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 06:18:38 +00:00
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4721,6 +4721,10 @@ static int send_apathetic_reply(unsigned short callno, unsigned short dcallno,
|
||||
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user