Hi,
And what's the actual question ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 27.05.2024 12:18, suifeng wrote:
HI,I has an NAT question;
img one:
[...]
img two: Use fix_nated_sdp(10) processing:
[....]
opensips version OpenSIPS (3.2.17 (x86_64/linux))
opensips.cfg part context:
route{
if (nat_uac_test(23)) {
if (is_method("REGISTER")) {
setbflag("NAT");
fix_nated_register();
xlog("request nat: $fd, rd: $rd, ru: $ru");
xlog("request -1................");
}
if (is_method("INVITE")){
xlog("request invite: $fd, rd: $rd, ru: $ru");
fix_nated_contact();
add_rr_param(";nat=yes");
xlog("request -2................");
}
}
if (is_method("INVITE") && has_body("application/sdp")) {
xlog("request
13-1................si:[$si],cs:[$cs],uri:[uri]");
fix_nated_sdp(10);
}
}
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users