Another thing. When I set the following parameters (to disable HEP and listen on raw socket)
modparam("sipcapture", "db_url", "mysql://homer:secret123@localhost/homer") modparam("sipcapture", "capture_on", 1) modparam("sipcapture", "capture_node", "homer01") modparam("sipcapture", "raw_moni_capture_on", 1) modparam("sipcapture", "raw_sock_children", 4) modparam("sipcapture", "raw_socket_listen", "127.0.0.1:9060") modparam("sipcapture", "promiscious_on", 1) modparam("siptrace", "db_url", DBURL) modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)") modparam("siptrace", "trace_on", 1) modparam("siptrace", "trace_flag", FLD_TRACE) modparam("siptrace", "duplicate_uri","sip:127.0.0.1:9060") modparam("siptrace", "hep_mode_on",0) modparam("siptrace", "trace_to_database", 0) I get the following error: ERROR: sipcapture [sipcapture.c:642]: ERROR: sipcapture:hep_msg_received HEP is not enabled Thanks Reda On Sun, May 6, 2012 at 4:56 PM, Reda Aouad <reda.ao...@gmail.com> wrote: > Hi Alex, > > Thank you for the fix. Just upgraded to Kamailio 3.3 and now Kamailio > starts without the previous error. Can this be backported to version 3.2? > > Bu the problem is still not solved. Although Kamailio starts, I get now a > runtime error. > ERROR: sipcapture [sipcapture.c:675]: ERROR: sipcapture:hep_msg_received: > unsupported family [71] > > This is my config running NODE and AGENT on same server: > > -------------------------------- > listen=udp:10.238.235.173:53 > listen=udp:127.0.0.1:9060 > > modparam("sipcapture", "db_url", "mysql://homer:homer@localhost/homer") > modparam("sipcapture", "capture_on", 1) > modparam("sipcapture", "capture_node", "homer01") > modparam("sipcapture", "hep_capture_on", 1) > > modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)") > modparam("siptrace", "trace_on", 1) > modparam("siptrace", "trace_flag", FLD_TRACE) > modparam("siptrace", "duplicate_uri", "sip:127.0.0.1:9060") > modparam("siptrace", "hep_mode_on", 1) > modparam("siptrace", "trace_to_database", 0) > > request_route { > ... > setflag(FLD_TRACE); > sip_capture(); > ... > } > -------------------------------- > > It seems sipcapture is listening on both eth0 and loopback interfaces, and > when it detects packets not encapsulated using HEP on eth0 (requests from > SIP clients), it gives the error above. > > Is there a way to tell sipcapture to bind only on one interface using HEP > mode? It seems impossible for now to run NODE and AGENT on the same server > using HEP mode... > > Thanks for helping. > Reda > > > > On Mon, Apr 16, 2012 at 12:00 AM, Alexandr Dubovikov <v...@start4.info>wrote: > >> Hi Reda, >> >> please take the last git and check it again. >> >> Wbr, >> Alexandr >> >> >> 4/15/2012 8:53 PM, Reda Aouad wrote: >> >> Hi, >> >> I'm trying to setup Kamailio as a Homer capture server itself. >> Kamailio listens on 2 ports : 53 for SIP users, and 9060 for homer SIP >> capture. >> siptrace module duplicates packets to sipcapture module on port 9060. >> >> I'm getting the following error : >> ERROR: siptrace [siptrace.c:1669]: invalid port number; must be in >> [1024,65536] >> >> This is my conf >> ----------------------- >> >> listen=udp:10.238.235.173:53 >> listen=udp:127.0.0.1:9060 >> >> #!ifdef WITH_SIPTRACE >> modparam("siptrace", "traced_user_avp", "$avp(s:traced_user)") >> modparam("siptrace", "trace_on", 1) >> modparam("siptrace", "trace_flag", FLD_TRACE) >> modparam("siptrace", "duplicate_uri","sip:127.0.0.1:9060") >> modparam("siptrace", "hep_mode_on",1); >> modparam("siptrace", "trace_to_database", 0); >> #!endif >> >> >> Any help? >> >> Thanks >> Reda >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing >> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users