mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +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:
@@ -1,5 +1,7 @@
|
|||||||
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
||||||
|
|
||||||
|
* rtp.c: use unsigned format for debug packet output (issue #5595)
|
||||||
|
|
||||||
* asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
|
* asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
|
||||||
* dnsmgr.c: add ability to start a background refresh on demand (issue #5599)
|
* dnsmgr.c: add ability to start a background refresh on demand (issue #5599)
|
||||||
|
|
||||||
|
|||||||
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),
|
ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
|
||||||
ntohs(rtp->them.sin_port), strerror(errno));
|
ntohs(rtp->them.sin_port), strerror(errno));
|
||||||
if (rtp_debug_test_addr(&rtp->them))
|
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),
|
ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr),
|
||||||
ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
|
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))
|
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);
|
, 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