diff options
author | Joshua Colp <jcolp@digium.com> | 2014-03-11 16:07:42 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-03-11 16:07:42 +0000 |
commit | 2fa1ff6e756ce0062f506d5ccb4e872d22b9e8fd (patch) | |
tree | 6157a3a52525bbca756d246a36160084515a8785 /mkinstalldirs | |
parent | 7c854d65afd3a969bdbd9b3a521cff1fad5809c2 (diff) |
res_pjsip_multihomed: Add module which places the correct address within messages.
Due to how messages are handled within PJSIP it is not until a message is actually
sent that the destination is reliably known. This means that the addresses placed
within the message may not be of the interface the message is being sent out on.
This module determines what interface a message is being sent on and updates the
message to contain the correct address if applicable.
This module was tested by myself in a virtualized environment with multiple interfaces
and also by Kinsey Moore in the following configuration:
Networks:
* 10.24.16.0/21
** hard phone
** default gateway
* 10.24.64.0/21
** softphone with pjsip-based stack
Transport details:
bind address: 0.0.0.0
protocol: UDP
All endpoints were tested with explicitly configured transports and unconfigured transports.
This was tested with inbound and outbound calls, both of which were experiencing detrimental
effects from incorrect IP addresses in SIP messages. These effects were only experienced by the
soft phone on the 10.24.64.0 network since the messages to the hard phone on the 10.24.16.0
network had the correct IP address.
(closes issue ASTERISK-23020)
Reported by: xrobau
Review: https://reviewboard.asterisk.org/r/3102/
........
Merged revisions 410451 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions