Problem capturing packets from kamailio to homer sip-capture
Hello, My kamailio is listening to TCP, so when I try to duplicate packets to homer, It tries to send them as TCP. From the log I see: Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:181]: get_out_socket(): no socket found Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:183]: get_out_socket(): no corresponding socket found for(udp:10.168.10.229:5090) Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: siptrace [siptrace.c:1940]: trace_send_hep2_duplicate(): can't forward to af 2, proto 1 no correspondi Which is rather strange to me, because the protocol is defined to be UDP for HEP: corresponding socket found for(udp:10.168.10.229:5090) How can I fix this? Thanks, Arik
Hi, is your kamailio listening at list on one udp socket? Siptrace module uses kamailio's listening socket to send out hep messages. Regards, Federico On Thu, 5 Apr 2018 08:09 Arik Halperin, <arik@mobilinq.io> wrote:
Hello,
My kamailio is listening to TCP, so when I try to duplicate packets to homer,
It tries to send them as TCP. From the log I see:
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:181]: get_out_socket(): no socket found
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:183]: get_out_socket(): no *corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090>)*
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: siptrace [siptrace.c:1940]: trace_send_hep2_duplicate(): can't forward to af 2, proto 1 no correspondi
Which is rather strange to me, because the protocol is defined to be UDP for HEP:
*corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090>)*
How can I fix this?
Thanks,
Arik
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
yep, you only enabled tcp to listen, but trying to send on udp, you need to also enabled udp ᐧ Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Thu, Apr 5, 2018 at 8:16 AM, Federico Cabiddu <federico.cabiddu@gmail.com
wrote:
Hi, is your kamailio listening at list on one udp socket? Siptrace module uses kamailio's listening socket to send out hep messages.
Regards,
Federico
On Thu, 5 Apr 2018 08:09 Arik Halperin, <arik@mobilinq.io> wrote:
Hello,
My kamailio is listening to TCP, so when I try to duplicate packets to homer,
It tries to send them as TCP. From the log I see:
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:181]: get_out_socket(): no socket found
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:183]: get_out_socket(): no *corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090>)*
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: siptrace [siptrace.c:1940]: trace_send_hep2_duplicate(): can't forward to af 2, proto 1 no correspondi
Which is rather strange to me, because the protocol is defined to be UDP for HEP:
*corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090>)*
How can I fix this?
Thanks,
Arik
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Thank you. That was it. I can now capture packets from kamailio. Arik
On 5 Apr 2018, at 9:25, David Villasmil <david.villasmil.work@gmail.com> wrote:
yep, you only enabled tcp to listen, but trying to send on udp, you need to also enabled udp ᐧ
Regards,
David Villasmil email: david.villasmil.work@gmail.com <mailto:david.villasmil.work@gmail.com> phone: +34669448337
On Thu, Apr 5, 2018 at 8:16 AM, Federico Cabiddu <federico.cabiddu@gmail.com <mailto:federico.cabiddu@gmail.com>> wrote: Hi, is your kamailio listening at list on one udp socket? Siptrace module uses kamailio's listening socket to send out hep messages.
Regards,
Federico
On Thu, 5 Apr 2018 08:09 Arik Halperin, <arik@mobilinq.io <mailto:arik@mobilinq.io>> wrote: Hello,
My kamailio is listening to TCP, so when I try to duplicate packets to homer,
It tries to send them as TCP. From the log I see:
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:181]: get_out_socket(): no socket found
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: <core> [core/forward.c:183]: get_out_socket(): no corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090/>)
Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: siptrace [siptrace.c:1940]: trace_send_hep2_duplicate(): can't forward to af 2, proto 1 no correspondi
Which is rather strange to me, because the protocol is defined to be UDP for HEP:
corresponding socket found for(udp:10.168.10.229:5090 <http://10.168.10.229:5090/>)
How can I fix this?
Thanks,
Arik
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
participants (4)
-
Arik Halperin -
Arik Halperin -
David Villasmil -
Federico Cabiddu