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 <[email protected]> wrote:

From: ha do <[email protected]>
Subject: Re: [OpenSIPS-Users] Help with sip trace errors please
To: "OpenSIPS users mailling list" <[email protected]>
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]: 


      


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

Reply via email to