FS-4102: [mod_sofia] invite to gateway without registration goes to another wrong host #resolve

This commit is contained in:
Anthony Minessale 2016-12-22 16:13:44 -06:00
parent cf506d2f02
commit d7dbd7ef61
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
Sun Dec 4 12:46:08 CST 2016
Thu Dec 22 16:13:33 CST 2016

View File

@ -880,6 +880,11 @@ int nua_client_request_sendmsg(nua_client_request_t *cr)
if (ds->ds_ltarget && !cr->cr_has_contact)
sip_add_dup(msg, sip, (sip_header_t *)ds->ds_ltarget);
/*
FS-4102
It was decided to comment out this code because it does not appear to make sense
Dec 22, 2016
if (nua_registration_add_contact_to_request(nh, msg, sip,
cr->cr_contactize &&
!cr->cr_has_contact &&
@ -888,6 +893,8 @@ int nua_client_request_sendmsg(nua_client_request_t *cr)
msg_destroy(msg);
return -1;
}
*/
}
cr->cr_wait_for_cred = 0;