diff options
author | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-26 16:00:35 +0000 |
---|---|---|
committer | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-26 16:00:35 +0000 |
commit | 8bc4a6988cda1046b98ad7be6d1d7cd00fb6d3f9 (patch) | |
tree | d6229210bf3059351485aa7a82c4ee7ee6ff3642 | |
parent | be5b4fe7494147e7730265981099e60769f83ce0 (diff) |
Merged revisions 258934 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r258934 | lmadsen | 2010-04-26 10:59:34 -0500 (Mon, 26 Apr 2010) | 7 lines
Small error in the T.140 RTP port verbose log.
(closes issue #16988)
Reported by: frawd
Patches:
chan_sip_sdp_verbose_fix.diff uploaded by frawd (license 610)
Tested by: russell
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@258935 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a9e2cf18e..4c661682c 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8475,7 +8475,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action memcpy(&tsin.sin_addr, thp->h_addr, sizeof(tsin.sin_addr)); ast_rtp_set_peer(p->trtp, &tsin); if (debug) - ast_verbose("Peer T.140 RTP is at port %s:%d\n", ast_inet_ntoa(vsin.sin_addr), ntohs(vsin.sin_port)); + ast_verbose("Peer T.140 RTP is at port %s:%d\n", ast_inet_ntoa(tsin.sin_addr), ntohs(tsin.sin_port)); if ((p->jointcapability & AST_FORMAT_T140RED)) { p->red = 1; rtp_red_init(p->trtp, 300, red_data_pt, 2); @@ -8504,7 +8504,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action } } } else { - memcpy(&isin.sin_addr, ihp->h_addr, sizeof(sin.sin_addr)); + memcpy(&isin.sin_addr, ihp->h_addr, sizeof(isin.sin_addr)); } ast_udptl_set_peer(p->udptl, &isin); if (debug) |