[OpenSIPS-Devel] [OpenSIPS/opensips] a74fc4: [nathelper] add functions to preserve the original...

Bogdan Andrei IANCU noreply at github.com
Thu Mar 19 13:28:59 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a74fc46e5e4705a743ddbf550094557d523a74a9
      https://github.com/OpenSIPS/opensips/commit/a74fc46e5e4705a743ddbf550094557d523a74a9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-19 (Thu, 19 Mar 2026)

  Changed paths:
    M modules/nathelper/README
    M modules/nathelper/doc/nathelper_admin.xml
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  [nathelper] add functions to preserve the original private contact.

The fix_nated_contact() take a flag in order to save the original private IP and port into the 'org' uri param (b64 encoded)
The new restore_nated_ruri() function (upon routing sequential requests) extract the info from the 'org' RURI param and restores the private ip:port in RURI. The received RURI is pushed into DURI for routing purposes ;)

Alternative to #3769



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list