mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-13 18:47:44 +00:00
FS-4102: [mod_sofia] invite to gateway without registration goes to another wrong host #resolve
This commit is contained in:
parent
cf506d2f02
commit
d7dbd7ef61
@ -1 +1 @@
|
|||||||
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)
|
|||||||
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)
|
|||||||
msg_destroy(msg);
|
msg_destroy(msg);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cr->cr_wait_for_cred = 0;
|
cr->cr_wait_for_cred = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user