the scenario is similar to this:

[1]kamailio+rtpproxy (private IP) -> Router public IP > [2]kamailio+rtpproxy (PRIVATE IP listening on public IP)

when the caller is registered on [1] and callee on [2], rtpproxy [1] is correctly engaged but rtpproxy [2] shows an error :

"incorrect port 0 on reply"

and there is no video/audio 

if caller and callee ( in 3G/4G mobile network) the call is handled correctly both audio and video

I'm running out of ideas, I hope someone can help me...
thanks



2016-06-27 17:37 GMT+02:00 Filippo Graziola <filippo.graziola@gmail.com>:
Sorry my thoughts weren't correct. When disabling rtpproxy in the local kamailio installation, I have one way audio. The caller, local SIP user, can hear audio from the user registered on the PSTN address, which also can't hang up the call.
It seems to me that the kamailio PSTN gateway can't engage rtpproxy correctly when receving a call from the local kamailio+rtpproxy. 
I changed the configuration from a the basic one to this here http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour
(I have only updated the outdated functions) and it works well for calls between mobile phones) but again the same problem described above.
If anyone could give me an advice it would be much appreciated

Thanks