[OpenSER-Users] All media traffic gets passed through Mediaproxy?
Iñaki Baz Castillo
ibc at in.ilimit.es
Thu Apr 24 12:23:02 CEST 2008
El Thursday 24 April 2008 10:13:20 Ash Rah escribió:
> 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();
> };
No idea, add "xlog" to test it:
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
xlog("L_INFO", "--------- Enabling MediaProxy -----------\n");
setflag(6);
use_media_proxy();
};
--
Iñaki Baz Castillo
ibc at in.ilimit.es
More information about the sr-users
mailing list