mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
Merge "chan_sip: Honor support of Symmetric Response (rport) for SIP requests."
This commit is contained in:
@@ -16819,7 +16819,7 @@ static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, st
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((transport_type != AST_TRANSPORT_WS) && (transport_type != AST_TRANSPORT_WSS) &&
|
if ((transport_type != AST_TRANSPORT_WS) && (transport_type != AST_TRANSPORT_WSS) &&
|
||||||
(!ast_test_flag(&peer->flags[0], SIP_NAT_FORCE_RPORT) && !ast_test_flag(&peer->flags[0], SIP_NAT_RPORT_PRESENT))) {
|
(!ast_test_flag(&peer->flags[0], SIP_NAT_FORCE_RPORT) && !ast_test_flag(&pvt->flags[0], SIP_NAT_RPORT_PRESENT))) {
|
||||||
/* use the data provided in the Contact header for call routing */
|
/* use the data provided in the Contact header for call routing */
|
||||||
ast_debug(1, "Store REGISTER's Contact header for call routing.\n");
|
ast_debug(1, "Store REGISTER's Contact header for call routing.\n");
|
||||||
/* XXX This could block for a long time XXX */
|
/* XXX This could block for a long time XXX */
|
||||||
|
Reference in New Issue
Block a user