Hi Bogdan the scripts/dbtext/opensips/sip_trace works without creating new sip_trace when opensips stop and start again :)
the option modparam("db_text", "db_mode", 1) doesnt help on writing :( the db_flatstore does store real time message but the INVITE, RINGING, 200ok, ACK are stored in difference files(sip_trace_9.log, sip_trace_10.log,sip_trace_11.log,sip_trace_12.log) "For each table there will be several files, one file for every OpenSIPS process that wrote some data into that table" Thank you very much Ha` --- On Thu, 12/17/09, Bogdan-Andrei Iancu <bog...@voice-system.ro> wrote: From: Bogdan-Andrei Iancu <bog...@voice-system.ro> Subject: Re: [OpenSIPS-Users] Help with sip trace errors please To: "OpenSIPS users mailling list" <users@lists.opensips.org> Date: Thursday, December 17, 2009, 2:44 AM Hi Ha, ha do wrote: > Hi Bogdan > > you need to take the new sip_trace file that comes with 6439 - the table > format was changed, not the code in opensips. > >>>i cannt what to do, i did new complie the source and new install > the opensips, i do > |svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6 > opensips_1_6 on new machine > then do make , then do install > | > [bogdan] It is not about recompiling sources - you need to use the new sip_trace file with the definition of the table (from scripts/dbtext/opensips/sip_trace) > | > my question :|do you have a plan to make enhancement of sip_trace that logs > all message without stop/start opensips how to admin opensips without log :(( > example : our opensips works fine for everything, but after some days someone > calls me and ask he cannot make call at 14:00PM yesterday and there is no log > to check > so ask him to make a call for debugging but the call is fine at debugging time > > if the siptrace module works without stop > and start opensips, i will open the log to check what happen with him at >this time :) > > [bogdan] probably you mean that, when using dbtext, you do not see the content of the table untill a restart of opensips, right ? if so may try using db_mode = 1 for db_text module (http://www.opensips.org/html/docs/modules/devel/db_text.html#id228234), but I'm not sure it this non-caching mode will affect the "write" ops also (and not only the "read" ops). Another solution is to use the db_flatstore driver (instead of db_text) -> this one does realtime writing on file. Regards, Bogdan > Thank you > Ha` > > --- On *Tue, 12/15/09, Bogdan-Andrei Iancu /<bog...@voice-system.ro>/* > wrote: > > > From: Bogdan-Andrei Iancu <bog...@voice-system.ro> > Subject: Re: [OpenSIPS-Users] Help with sip trace errors please > To: "OpenSIPS users mailling list" <users@lists.opensips.org> > Date: Tuesday, December 15, 2009, 12:47 AM > > Hi Ha, > > ha do wrote: > > Hi Bogdan > > > > i use the Checked out revision 6439. > > it is still issue when the sip_trace has content > > > you need to take the new sip_trace file that comes with 6439 - the > table > format was changed, not the code in opensips. > > > > do you have a plan to make enhancement of sip_trace that logs all > > message without stop/start opensips > > how to admin opensips without log :(( > > > I do not understand your question...could you rephrase ? > > Regards, > Bogdan > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users