提交 d7dbd7ef authored 作者: Anthony Minessale's avatar Anthony Minessale

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

上级 cf506d2f
Sun Dec 4 12:46:08 CST 2016 Thu Dec 22 16:13:33 CST 2016
...@@ -880,6 +880,11 @@ int nua_client_request_sendmsg(nua_client_request_t *cr) ...@@ -880,6 +880,11 @@ int nua_client_request_sendmsg(nua_client_request_t *cr)
if (ds->ds_ltarget && !cr->cr_has_contact) if (ds->ds_ltarget && !cr->cr_has_contact)
sip_add_dup(msg, sip, (sip_header_t *)ds->ds_ltarget); 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, if (nua_registration_add_contact_to_request(nh, msg, sip,
cr->cr_contactize && cr->cr_contactize &&
!cr->cr_has_contact && !cr->cr_has_contact &&
...@@ -888,6 +893,8 @@ int nua_client_request_sendmsg(nua_client_request_t *cr) ...@@ -888,6 +893,8 @@ int nua_client_request_sendmsg(nua_client_request_t *cr)
msg_destroy(msg); msg_destroy(msg);
return -1; return -1;
} }
*/
} }
cr->cr_wait_for_cred = 0; cr->cr_wait_for_cred = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论