My experiments show that with
```
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)
modparam("usrloc", "nat_bflag", FLB_NATB)
```
when both FLB_NATB and FLB_NATSIPPING branch flags are set, no OPTIONS from 
Kamailio to UAC is generated, so I assume that nathelper.ping_nated_only=1 does 
force 4-bytes UDP keepalive.

This change spells the above, as the behaviour currently is not specified. 
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3346

-- Commit Summary --

  * nathelper: ping_nated_only sends 4-bytes UDP-packet pings

-- File Changes --

    M src/modules/nathelper/doc/nathelper_admin.xml (12)
    M src/modules/nathelper/examples/4to6.cfg (2)
    M src/modules/nathelper/examples/alg.cfg (2)
    M src/modules/nathelper/nathelper.c (6)
    M src/modules/nathelper/nhelpr_funcs.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/3346.patch
https://github.com/kamailio/kamailio/pull/3346.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3346
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/[email protected]>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to