summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2010-04-26 15:59:34 +0000
committerLeif Madsen <leif@leifmadsen.com>2010-04-26 15:59:34 +0000
commit1b62cf14e44302211dae7f6743bf52c767928e8a (patch)
tree3d8272f47f937f34b37b342fee15ed71e2d25b69 /channels
parent13f523731a3c579a5091db815864aac1aacef6b9 (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@258934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index a145d0d93..4d62561e8 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7992,7 +7992,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_instance_set_remote_address(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;
ast_rtp_red_init(p->trtp, 300, red_data_pt, 2);
@@ -8021,7 +8021,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)