Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1752 closed enhancement (fixed)

Resolve hostname when trying to get the network interface

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.3
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by riza)

Currently, pjsip will use default routing (from OS) when trying to get network interface.
In a multihomed environment, sometimes this is not the desired behavior.
This ticket will add an option to resolve hostname when trying to get the network interface to be put in the Via or Contact header.

To enable this option set resolve_hostname_to_get_interface from the pjsip_cfg_t::endpt to PJ_TRUE or
define PJSIP_RESOLVE_HOSTNAME_TO_GET_INTERFACE as PJ_TRUE on the config_site.h.

Thanks to Alexander Klyushin for the report.

Change History (3)

comment:1 Changed 10 years ago by riza

In 4802:

Re #1752: Add option to resolve hostname when trying to get network interface.

comment:2 Changed 10 years ago by riza

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 10 years ago by riza

  • Description modified (diff)
Note: See TracTickets for help on using tickets.