ast_log(LOG_WARNING, "Autodestruct on call '%s' with owner in place\n", p->callid);
whats in there ?
On 6/9/06,
BJ Weschke <[EMAIL PROTECTED]> wrote:
On 6/9/06, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 08, 2006 at 10:44:39PM -0400, BJ Weschke wrote:
> > On 6/8/06, Nick Hoffman < [EMAIL PROTECTED]> wrote:
> > >Hi guys. I'm trying to disable all debug output, but am not having any
> > >success:
> > >
> > >[EMAIL PROTECTED]:~> sudo asterisk -r
> > >Asterisk 1.2.8, Copyright (C) 1999 - 2006 Digium, Inc. and others.
> > ><..snip...>
> > >certain conditions. Type 'show license' for details.
> > >=========================================================================
> > >Connected to Asterisk 1.2.8 currently running on asterisk-dev1 (pid = 7216)
> > >Verbosity is at least 19
> > >asterisk-dev1*CLI> sip no debug
> > >SIP Debugging Disabled
> > >asterisk-dev1*CLI> debug level 0
> > >Debugging level set to 0, file '<any>'
> > >asterisk-dev1*CLI>
> > >asterisk-dev1*CLI>
> > >Jun 9 12:34:57 DEBUG[7225]: chan_sip.c:1323 __sip_autodestruct: Auto
> > >destroying call '[EMAIL PROTECTED]'
> > >
> > >What am I doing wrong? I noticed that Asterisk said that the verbosity
> > >level is >= 19, but the debug message that appeared should've been
> > >suppressed by ``sip no debug'', no?
> > >
> >
> > In theory, yes,
>
> In practice:
>
> p->autokillid = -1;
>
> ast_log(LOG_DEBUG, "Auto destroying call '%s'\n", p->callid);
> append_history(p, "AutoDestroy", "");
> if (p->owner) {
> ast_log(LOG_WARNING, "Autodestruct on call '%s' with owner in place\n", p->callid);
> ast_queue_hangup(p->owner);
> } else {
>
> Should that ast_log be conditioned?
>
Yes. Absolutely.
--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Mike
Sales Manager
http://www.theclubvoip.com
Making it happen
1.888.470.7253
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users