[sr-dev] [kamailio/kamailio] Socket name ignored when sending to HEP server (Issue #3174)

manticode notifications at github.com
Fri Jul 1 16:05:02 CEST 2022


When **trace_mode** is set to 1, then **send_sock_name** is not used (it uses the unexpected socket listen socket).

However, when **trace_mode** is set to 4, then **send_sock_name** works correctly.

Also, in both cases, **send_sock_addr** works correctly.

```
listen=udp:SIP_IPADDRESS:SIP_PORT
listen=udp:SIPCAPTURE_IPADDRESS:SIP_PORT name "siptrace_socket"
modparam("siptrace", "duplicate_uri", "sip:10.218.31.205:9060")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 3)
modparam("siptrace", "hep_capture_id", 110)
modparam("siptrace", "send_sock_name", "siptrace_socket")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_to_database", 0)
```

This is tested on Kamailio 5.5.1 and 5.5.3.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3174
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3174 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220701/479eb403/attachment.htm>


More information about the sr-dev mailing list