[Asterisk-code-review] res pjsip outbound registration: Make contact scheme follow ... (asterisk[master])

George Joseph asteriskteam at digium.com
Mon May 9 17:46:08 CDT 2016


Hello Mark Michelson, Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/2785

to look at the new patch set (#2).

Change subject: res_pjsip_outbound_registration: Make contact scheme follow client_uri
......................................................................

res_pjsip_outbound_registration: Make contact scheme follow client_uri

The contact scheme for an outbound register was being forced to sips if the
transport was secure, even if the client uri scheme was set to sip.  This was
causing call failures with some servers/proxies that may (only) accept the
sip scheme over TLS.

The scheme used for the contact is now the same as the scheme specified on
the client_uri regardless of transport type.

ASTERISK-25990 #close
Reported-by: Sebastian Damm

Change-Id: I5163e9c4251e4a8479ebc462b51018d19ed0a6be
---
M res/res_pjsip_outbound_registration.c
1 file changed, 8 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/85/2785/2
-- 
To view, visit https://gerrit.asterisk.org/2785
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5163e9c4251e4a8479ebc462b51018d19ed0a6be
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-code-review mailing list