summaryrefslogtreecommitdiff
path: root/res/res_pjsip_outbound_publish.c
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-09-26 10:01:48 -0600
committerGeorge Joseph <gjoseph@digium.com>2017-09-26 11:46:46 -0500
commit3c5c31f14cdf7dc6af79b6fafeff290c1a419b7d (patch)
treed469e57c06072fa426a43948ada241133d6fcd11 /res/res_pjsip_outbound_publish.c
parent9bd204f64a4010cbe40432ffda265c5f43da4dbb (diff)
pjsip_message_filter: Fix regression causing bad contact address
The "res_pjsip: Filter out non SIP(S) requests" commit moved the filtering of messages to pjproject's PJSIP_MOD_PRIORITY_TRANSPORT_LAYER in order to filter out incoming bad uri schemes as early as possible. Since the change affected outgoing messages as well and the TRANSPORT layer is the last to be run on outgoing messages, we were overwriting the setting of external_signaling_address (which is set earlier by res_pjsip_nat) with an internal address. * pjsip_message_filter now registers itself as a pjproject module twice. Once in the TSX layer for the outgoing messages (as it was originally), then a second time in the TRANSPORT layer for the incoming messages to catch the invalid uri schemes. ASTERISK-27295 Reported by: Sean Bright Change-Id: I2c90190c43370f8a9d1c4693a19fd65840689c8c
Diffstat (limited to 'res/res_pjsip_outbound_publish.c')
0 files changed, 0 insertions, 0 deletions