[OpenSIPS-Users] Help with sip trace errors please

ha do haloha201 at yahoo.com
Thu Dec 10 11:56:02 CET 2009


Hi all

i found the problem here
when we using the db_text, i dont know how the opensips will write the log to the text file(sip_trace)
i just stop then start opensips again and then i see all logs in the text file(sip_trace)

the problem here when i start the second time -- opensips doesnt accept the old sip_trace text file, i need to create new sip_trace text file

my question how long opensips will write the log to text file ??
why opensips doesnt accept the old sip_trace text file? is there any enhancement to use the old text file

Thank you
Ha`

--- On Thu, 12/10/09, ha do <haloha201 at yahoo.com> wrote:

From: ha do <haloha201 at yahoo.com>
Subject: Re: [OpenSIPS-Users] Help with sip trace errors please
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Date: Thursday, December 10, 2009, 3:29 AM

Hi Brian

i follow your suggestion and it is successfully writing the log to text file sip_trace

the opensips.cfg

loadmodule "db_text.so"
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "db_url", "text:///tmp/opensipsdb")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "enable_ack_trace", 1)
modparam("siptrace", "table", "sip_trace")

but when you enable debug=9 in the opensips.cfg

it say the error:
Dec 10 23:53:44 localhost /usr/local/sbin/opensips[1923]: INFO:db_text:dbt_init: using database at: /tmp/opensipsdb

Dec 10 23:54:01 localhost /usr/local/sbin/opensips[1915]: 


      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091210/a2f67005/attachment.htm 


More information about the Users mailing list