Module: kamailio
Branch: master
Commit: abe060b417c5270082aa46660fdc2f78098a5888
URL:
https://github.com/kamailio/kamailio/commit/abe060b417c5270082aa46660fdc2f7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-18T08:41:29+02:00
core: debug message for forcing send socket action
---
Modified: src/core/action.c
---
Diff:
https://github.com/kamailio/kamailio/commit/abe060b417c5270082aa46660fdc2f7…
Patch:
https://github.com/kamailio/kamailio/commit/abe060b417c5270082aa46660fdc2f7…
---
diff --git a/src/core/action.c b/src/core/action.c
index 8b6725598c..45581ba312 100644
--- a/src/core/action.c
+++ b/src/core/action.c
@@ -1434,6 +1434,9 @@ int do_action(struct run_act_ctx* h, struct action* a, struct
sip_msg* msg)
ret=E_BUG;
goto error;
}
+ LM_DBG("setting send-socket to [%.*s]\n",
+ ((struct socket_info*)a->val[0].u.data)->sock_str.len,
+ ((struct socket_info*)a->val[0].u.data)->sock_str.s);
set_force_socket(msg, (struct socket_info*)a->val[0].u.data);
ret=1; /* continue processing */
break;