[OpenSIPS-Users] Sipcapture issue

Seth Schultz sschultz at scholarchip.com
Fri Feb 15 20:36:54 CET 2013


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;
}




More information about the Users mailing list