Siptrace on ver 2.2.4

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Siptrace on ver 2.2.4

OpenSIPS - Users mailing list
Hi, 

I am trying siptrace on opensips-2.2.4 but I am an error below

ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <siptrace>

Part of the config is listed below

loadmodule "siptrace.so"
modparam("siptrace", "db_url", 
        "mysql://opensips:opensipsrw@localhost/opensips")

I appreciate any help.


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Siptrace on ver 2.2.4

Bogdan-Andrei Iancu-2
Hello Oliver,

In 2.2 the tracing is a bit different (as more complex) from 2.1.  See the trace_id parameter:
    http://www.opensips.org/html/docs/modules/2.2.x/siptrace.html#idp154384

You should do like:

/*DB trace id*/
modparam("siptrace", "trace_id",
"[tid]
[hidden email];
table=new_sip_trace;")
and later in the script:
    sip_trace("tid","...");

Best regards,
Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Bootcamp 2017, Houston, US
  http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 05/24/2017 09:08 PM, Oliver Santos via Users wrote:
Hi, 

I am trying siptrace on opensips-2.2.4 but I am an error below

ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <siptrace>

Part of the config is listed below

loadmodule "siptrace.so"
modparam("siptrace", "db_url", 
        "mysql://opensips:opensipsrw@localhost/opensips")

I appreciate any help.



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users