[OpenSIPS-Users] SipTrace Module - failed to get an id for "sip" tracing!

Ionut Ionita ionutionita at opensips.org
Mon Feb 6 11:59:23 EST 2017


Hello Victor,

It should be fixed now. Try upgrading to latest from master

Ionut Ionita
OpenSIPS Developer

On 02/05/2017 02:46 PM, Victor Bogatyryev wrote:
> Hi All, opensips 2.3 opensips.cfg #### SipTrace Module loadmodule 
> "siptrace.so" modparam("siptrace", "trace_on", 1) modparam("siptrace", 
> "trace_id", 
> "[tid]uri=mysql://opensips:opensipsrw@localhost/opensips;table=sip_trace;") 
> MariaDB [opensips]> DESCRIBE sip_trace; 
> +-------------+------------------+------+-----+---------------------+----------------+ 
> | Field | Type | Null | Key | Default | Extra | 
> +-------------+------------------+------+-----+---------------------+----------------+ 
> | id | int(10) unsigned | NO | PRI | NULL | auto_increment | | 
> time_stamp | datetime | NO | MUL | 1900-01-01 00:00:01 | | | callid | 
> char(255) | NO | MUL | | | | trace_attrs | char(128) | YES | MUL | 
> NULL | | | msg | text | NO | | NULL | | | method | char(32) | NO | | | 
> | | status | char(128) | YES | | NULL | | | from_proto | char(5) | NO 
> | | NULL | | | from_ip | char(50) | NO | MUL | | | | from_port | 
> int(5) unsigned | NO | | NULL | | | to_proto | char(5) | NO | | NULL | 
> | | to_ip | char(50) | NO | | | | | to_port | int(5) unsigned | NO | | 
> NULL | | | fromtag | char(64) | NO | | | | | direction | char(4) | NO 
> | | | | 
> +-------------+------------------+------+-----+---------------------+----------------+ 
> 15 rows in set (0.00 sec) # opensipsctl start INFO: Starting OpenSIPS 
> : ERROR: PID file /var/run/opensips/opensips.pid does not exist -- 
> OpenSIPS start failed Degug: /local/sbin/opensips[2061]: 
> ERROR:siptrace:mod_init: failed to get an id for "sip" tracing! 
> /sbin/opensips[2061]: ERROR:core:init_mod: failed to initialize module 
> siptrace /sbin/opensips[2061]: ERROR:core:main: error while 
> initializing modules /sbin/opensips[2061]: INFO:core:cleanup: cleanup 
> /local/sbin/opensips[2061]: NOTICE:core:main: Exiting.... Regards, 
> Victor Bogatyryev
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170206/f1632ae5/attachment-0001.html>


More information about the Users mailing list