mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
make an error message more descriptive (issue #6855)
M rtp.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
rtp.c
2
rtp.c
@@ -555,7 +555,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
|
||||
else
|
||||
return &ast_null_frame;
|
||||
} else {
|
||||
ast_log(LOG_NOTICE, "Unknown RTP codec %d received\n", payloadtype);
|
||||
ast_log(LOG_NOTICE, "Unknown RTP codec %d received from '%s'\n", payloadtype, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr));
|
||||
return &ast_null_frame;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user