mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
issue #5595
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
rtp.c
4
rtp.c
@@ -1149,7 +1149,7 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
|
||||
ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), strerror(errno));
|
||||
if (rtp_debug_test_addr(&rtp->them))
|
||||
ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n",
|
||||
ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n",
|
||||
ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
|
||||
}
|
||||
@@ -1292,7 +1292,7 @@ static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec
|
||||
}
|
||||
|
||||
if(rtp_debug_test_addr(&rtp->them))
|
||||
ast_verbose("Sent RTP packet to %s:%d (type %d, seq %d, ts %d, len %d)\n"
|
||||
ast_verbose("Sent RTP packet to %s:%d (type %d, seq %u, ts %u, len %u)\n"
|
||||
, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr), ntohs(rtp->them.sin_port), codec, rtp->seqno, rtp->lastts,res - hdrlen);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user