c james wrote:
I am trying to work in the console, figuring why it exits, but about 75%
is always taken up with
Really destroying SIP dialog '' Method: OPTIONS
Can anyone point me where I can stop this without turning down the
debugging/verbose on the entire console.
c james,
Your best option would be to address the source of the messages, but I
know that's not always practical. Here is a trivial patch that will
only print the messages if verbosity is set to greater than 10. Just
apply it to 'channels/chan_sip.c' and rebuild Asterisk.
=== BEGIN PATCH
--- chan_sip.c 2008-06-13 08:51:46.0 -0400
+++ chan_sip.c.patched 2008-06-13 08:56:37.0 -0400
@@ -3115,7 +3115,8 @@
struct sip_pkt *cp;
if (sip_debug_test_pvt(p) || option_debug 2)
- ast_verbose(Really destroying SIP dialog '%s' Method:
%s\n, p-callid, sip_methods[p-method].text);
+ if (option_verbose 10)
+ ast_verbose(VERBOSE_PREFIX_4 Really destroying
SIP dialog '%s' Method: %s\n, p-callid, sip_methods[p-method].text);
if (ast_test_flag(p-flags[0], SIP_INC_COUNT) ||
ast_test_flag(p-flags[1], SIP_PAGE2_CALL_ONHOLD)) {
update_call_counter(p, DEC_CALL_LIMIT);
=== END PATCH ==
Regards,
Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users