[OpenSIPS-Users] Sipcapture issue

Alexandr Dubovikov aduvoip at googlemail.com
Fri Feb 15 22:39:38 CET 2013


Hi Seth,

can you please make tcpdump in pcap format on port 9060 and send it to me ?

Wbr,
Alexandr

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Seth Schultz
Sent: Friday, February 15, 2013 8:37 PM
To: OpenSIPS users mailling list
Subject: [OpenSIPS-Users] Sipcapture issue

Hello,

I am running into an issue where my sipcapture server is throwing this error
(using version 1.9.0).

"ERROR:sipcapture:hep_msg_received: unknow protocol [1]"

On my main OpenSIPS server I am using the siptrace module to duplicate the
messages with HEP to the sipcaptur server.  I have tried using both
hep_version 1 and 2, but both throw the same error.

Here are my trace server settings:

modparam("siptrace", "enable_ack_trace", 1) modparam("siptrace",
"trace_flag", "TRACE") modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_to_database", 0) modparam("siptrace",
"hep_version", 2) modparam("siptrace", "hep_capture_id", 338)
modparam("siptrace", "duplicate_uri", "sip:xxx.xxx.xxx.xxx:9060")
modparam("siptrace", "duplicate_with_hep", 1)

...

####### Routing Logic ########

route
{
...
trace_dialog();
...
}

Here is the script for the capture server:

debug=3
log_stderror=no
log_facility=LOG_LOCAL0

fork=yes
children=5

auto_aliases=no
alias=xxx.xxx.xxx.xxx

port=9060
listen=udp:xxx.xxx.xxx.xxx:9060

mpath="/lib64/opensips/modules/"

loadmodule "db_mysql.so"
loadmodule "sipcapture.so"

modparam("sipcapture", "db_url", "mysql://xxx:xxx@localhost/xxx")
modparam("sipcapture", "capture_node", "sipcapture") modparam("sipcapture",
"capture_on", 1) modparam("sipcapture", "table_name", "sip_capture")
modparam("sipcapture", "hep_capture_on", 1) ## undocumented option pulled
from homer site?

#modparam("sipcapture", "duplicate_with_hep", 1) ## documentation is wrong,
this throws an error

####### Routing Logic ########

route
{
         sip_capture();
         drop;
}

onreply_route
{
         sip_capture();
         drop;
}


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list