Module: kamailio
Branch: 5.2
Commit: 0506dee4af74b5e1190ca1e28b1f4cc4a4f3e334
URL:
https://github.com/kamailio/kamailio/commit/0506dee4af74b5e1190ca1e28b1f4cc…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-03-25T14:56:32+01:00
Revert "uac: also set socket for in dialog REGISTER (GH #2262)"
This reverts commit 09985a448ffd34375be0d93f4b16f17c7dac3dc0.
---
Modified: src/modules/uac/uac_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0506dee4af74b5e1190ca1e28b1f4cc…
Patch:
https://github.com/kamailio/kamailio/commit/0506dee4af74b5e1190ca1e28b1f4cc…
---
diff --git a/src/modules/uac/uac_reg.c b/src/modules/uac/uac_reg.c
index b944ebf4f9..f75c7cf38a 100644
--- a/src/modules/uac/uac_reg.c
+++ b/src/modules/uac/uac_reg.c
@@ -1150,19 +1150,6 @@ int uac_reg_update(reg_uac_t *reg, time_t tn)
/* Callback parameter */
uac_r.cbp = (void*)uuid;
- if(reg->socket.s != NULL && reg->socket.len > 0) {
- /* custom socket */
- LM_DBG("using custom socket %.*s to send request\n",
- reg->socket.len, reg->socket.s);
- uac_r.ssock = ®->socket;
- } else {
- /* default socket */
- if(uac_default_socket.s != NULL && uac_default_socket.len > 0) {
- LM_DBG("using configured default_socket to send request\n");
- uac_r.ssock = &uac_default_socket;
- }
- }
-
if (reg_keep_callid && reg->flags & UAC_REG_ONLINE
&& reg->cseq > 0 && reg->cseq < 2147483638
&& reg->callid.len > 0)