[SR-Users] sipcapture / raw_interface

András Stefler andras.stefler at gmail.com
Thu Jul 3 14:47:28 CEST 2014


Hello all,

I am new in using Kamailio. I have installed the version 4.0.1 and using it
as SIP capture node.
My server has lots of physical interfaces where I want to enforce capturing
on one of the only. This is called 'csm1'.

This is the corresponding part from kamailio.cfg

modparam("sipcapture", "capture_node", "sipserv")
modparam("sipcapture", "db_url", "mysql://****)
modparam("sipcapture", "capture_on", 1)
modparam("sipcapture", "hep_capture_on", 0)
#modparam("sipcapture", "raw_socket_listen", "192.168.0.1:5060")
modparam("sipcapture", "raw_interface", "csm1")
modparam("sipcapture", "raw_ipip_capture_on", 0)
modparam("sipcapture", "table_name", "sip_capture")
modparam("sipcapture", "raw_sock_children", 4)
modparam("sipcapture", "raw_moni_capture_on", 1)
modparam("sipcapture", "promiscious_on", 1)
modparam("sipcapture", "raw_moni_bpf_on", 1)

********************************

stefler at sipserv:~$ ifconfig csm1

csm1      Link encap:Ethernet  HWaddr ac:16:2d:96:3f:e0
          inet addr:1.0.8.1  Bcast:1.0.8.3  Mask:255.255.255.252
          inet6 addr: fe80::ae16:2dff:fe96:3fe0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1




My problem is that capturing is activated on all of the interfaces and only
on the selected one.

Have you seen this problem before?

Regards

Andras Stefler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140703/4f9e8201/attachment.html>


More information about the sr-users mailing list