What is the VoIP gateway?
It is very possile that it will ignore the
prive address in SDP and just stream to the source address.
Your gateway address 115.113.66.64?
I do not see stream from this address.
Once you use STUN MSS advertises it's public addess and packets sent
to the internet will really appear like coming from that public
address.
However if MMS is not sending address to the internet but to some
private address and there is a network adapter associated with this
subnet the packets will go directly without going through the public
addess (outbound router).
All OSes have routing tables. For example
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25
10.0.0.0 255.0.0.0 10.11.12.93 10.11.12.93 1
10.11.12.0 255.255.252.0 10.11.12.93 10.11.12.93 25
0.0.0.0 is usually the lowest priority (25) which means if an adapter
with higher priority is not found use this adapter.
Here you can see that 10.0.0.0 will go though 10.11.12.93 imeditately
without passing throug my default gateway to the internet(192.168.1.1)
because 10.11.12.93 has the highest priority (1). In all OSes it's the
same - local adapters have high priority(assumed very fast) and
internet adapters - low priority.
That said, i really doubt the packets from UA reach the MMS at all
(check with wireshark), which is a NAT issue. NATs keep track of the
remote clients and if they see a private address in a client that is
supposed to be remote they might drop the packets.
~90% of the PSTN gateways are asterisk and asterisk ignores the SDP IP
address by default, prett sure that's the case for other servers as
well and I am pushing it into our Media Server as well
http://code.google.com/p/mobicents/issues/detail?id=854