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'.
modparam("sipcapture", "capture_node", "sipserv")
modparam("sipcapture", "db_url", "mysql://****)
modparam("sipcapture", "capture_on", 1)
modparam("sipcapture", "hep_capture_on", 0)
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@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.