Sorry, I got media address 111.222.3.2 in SDP, but not 111.222.3.3
Regards, Igor
On 22 дек. 2016 г., 19:19 +0200, Igor Olhovskiy igorolhovskiy@gmail.com, wrote:
Hi! Issue I can’t figure out. Or all working ok and that’s just me who not understands.
I have situation softPhone (111.222.3.2) -> Kamailio w. rtpproxy (111.222.3.3) -> PBX (111.222.3.4) All addresses are on same public network. rtpproxy is running with -l 111.222.3.3 -A 111.222.3.3 I want all media goes through rtpproxy. So, in INVITE and ACK I call rtpproxy_manage(). 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
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)
So, I can’t understand, rtpproxy_manage() changes only rfc1918 addresses or I’m missing something? If any - can provide pcap’s with both cases.
Regards, Igor