I thought the script I am using takes care of that already. Any
suggestion what I am doing wrong in my script.
Thanks.
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
setflag(6);
use_media_proxy();
};
Iñaki Baz Castillo wrote:
El Thursday 24 April 2008 09:41:58 Ash Rah escribió:
My goal is to have the OpenSER to provide
registration where the actual
calls will be routed through an external Asterisk server. I do not want
media traffic passing through Mediaproxy unless I have a NAT related
media problems with a certain client. But apparently current set up is
forcing all media traffic to pass through the Mediaproxy server.
So you need to, manually, improve your OpenSe script just to force MediaProxy
if the caller or called is behind NAT.