<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all<br><br>i found the problem here<br>when we using the db_text, i dont know how the opensips will write the log to the text file(sip_trace)<br>i just stop then start opensips again and then i see all logs in the text file(sip_trace)<br><br>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<br><br>my question how long opensips will write the log to text file ??<br>why opensips doesnt accept the old sip_trace text file? is there any enhancement to use the old text file<br><br>Thank you<br>Ha`<br><br>--- On <b>Thu, 12/10/09, ha do <i>&lt;haloha201@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ha do &lt;haloha201@yahoo.com&gt;<br>Subject: Re: [OpenSIPS-Users] Help with sip trace
 errors please<br>To: "OpenSIPS users mailling list" &lt;users@lists.opensips.org&gt;<br>Date: Thursday, December 10, 2009, 3:29 AM<br><br><div id="yiv57998903"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Hi Brian<br><br>i follow your suggestion and it is successfully writing the log to text file sip_trace<br><br>the opensips.cfg<br><br>loadmodule "db_text.so"<br>modparam("siptrace", "trace_flag", 22)<br>modparam("siptrace", "db_url", "text:///tmp/opensipsdb")<br>modparam("siptrace", "trace_on", 1)<br>modparam("siptrace", "enable_ack_trace", 1)<br>modparam("siptrace", "table", "sip_trace")<br><br>but when you enable debug=9 in the opensips.cfg<br><br>it say the error:<br>Dec 10 23:53:44 localhost
 /usr/local/sbin/opensips[1923]: INFO:db_text:dbt_init: using database at: /tmp/opensipsdb<br><br>Dec 10 23:54:01 localhost /usr/local/sbin/opensips[1915]: <br></td></tr></tbody></table>

      </div></blockquote></td></tr></table><br>