<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">Sorry,  I got media address 111.222.3.2 in SDP, but not 111.222.3.3</div>
<div name="messageSignatureSection"><br />
Regards, Igor</div>
<div name="messageReplySection"><br />
On 22 дек. 2016 г., 19:19 +0200, Igor Olhovskiy <igorolhovskiy@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div name="messageBodySection">Hi!
<div>Issue I can’t figure out. Or all working ok and that’s just me who not understands.</div>
<div><br /></div>
<div>I have situation</div>
<div>softPhone (111.222.3.2) -> Kamailio w. rtpproxy (111.222.3.3) -> PBX (111.222.3.4)</div>
<div>All addresses are on same public network.</div>
<div>rtpproxy is running with -l 111.222.3.3 -A 111.222.3.3</div>
<div>I want all media goes through rtpproxy. So, in INVITE and ACK I call rtpproxy_manage().</div>
<div>But according to sip packets on PBX (10.0.0.4) I got media address 10.0.0.2 in SDP, but not 10.0.0.3</div>
<div><br /></div>
<div>If I use scheme, where client in some other NATted network (like 192.168.1.100), all is replaced correctly (means rtpproxy_manage() is working)</div>
<div><br /></div>
<div>So, I can’t understand, rtpproxy_manage() changes only rfc1918 addresses or I’m missing something?</div>
<div>If any - can provide pcap’s with both cases.</div>
</div>
<div name="messageSignatureSection"><br />
Regards, Igor</div>
</blockquote>
</div>
</body>
</html>