Hello everybody,
I have a local kamailio+rtpproxy under NAT listening on multiple local interfaces (vlans) which works fluenty for all local user indipendently and engages rtpproxy correctly. I have another working kamailio+rtpproxy which is accessible from everywhere at a public address and I would like to route to it some specific calls from the local server. So, in the local kamailio configuration file I defined WITH_PSTN (all the necessary option) and INVITE/OK/BYE messages are going correctly to the destination. The problem is that I have no audio on both ways. After some packet sniffing, I tried killing local rtpproxy process and now calls to PSTN have also audio both ways.
From these tests, if my configuration is correct, when routing the call to
PSTN gateway I should disable the local rtpproxy, and I'm in doubt about how I can do this. Could you help me? Should I change NAT flags in the PSTN route?
Thanks
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
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