[OpenSIPS-Users] opensips nat question

Bogdan-Andrei Iancu bogdan at opensips.org
Fri May 31 10:26:58 UTC 2024


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240531/de21497b/attachment.html>


More information about the Users mailing list