[SR-Users] Problem capturing packets from kamailio to homer sip-capture

Arik Halperin arik.halperin at s3code.com
Sat Apr 7 17:34:16 CEST 2018


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 at 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 at gmail.com <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
> 
> On Thu, Apr 5, 2018 at 8:16 AM, Federico Cabiddu <federico.cabiddu at gmail.com <mailto:federico.cabiddu at 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 at mobilinq.io <mailto:arik at 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 at lists.kamailio.org <mailto:sr-users at 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 at lists.kamailio.org <mailto:sr-users at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180407/f102fc29/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3751 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180407/f102fc29/attachment.bin>


More information about the sr-users mailing list