[Asterisk-code-review] res pjsip transport websocket: Add support for IPv6. (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Wed Mar 8 13:45:10 CST 2017
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/5134 )
Change subject: res_pjsip_transport_websocket: Add support for IPv6.
......................................................................
Patch Set 4:
(1 comment)
https://gerrit.asterisk.org/#/c/5134/4/res/res_pjsip.c
File res/res_pjsip.c:
PS4, Line 2777: /* Determine the transport type to use */
: if (!sip_uri->transport_param.slen) {
: type = PJSIP_TRANSPORT_UDP;
: } else {
: type = pjsip_transport_get_type_from_name(&sip_uri->transport_param);
: }
> To honor sips probably should be:
The original code was taken from pjsua as a base. It wrongly assumed that sips will always use TLS, thus my change. I opted to minimize the change to this just in case. I'm hesitant to make even more changes by introducing a get_flag_from_type check, as that's an unrelated change to Websocket support.
--
To view, visit https://gerrit.asterisk.org/5134
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id1f9126f995b31dc38db8fdb58afd289b4ad1647
Gerrit-PatchSet: 4
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list