VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
cjames at callone.net Guest
|
Posted: Thu Jun 12, 2008 3:35 pm Post subject: [asterisk-users] Really destroying SIP dialog |
|
|
I am trying to work in the console, figuring why it exits, but about 75%
is always taken up with
Really destroying SIP dialog 'xxxxxxxxxxxx' Method: OPTIONS
Can anyone point me where I can stop this without turning down the
debugging/verbose on the entire console. |
|
Back to top |
|
|
mroth at imminc.com Guest
|
Posted: Fri Jun 13, 2008 8:05 am Post subject: [asterisk-users] Really destroying SIP dialog |
|
|
c james wrote:
Quote: | I am trying to work in the console, figuring why it exits, but about 75%
is always taken up with
Really destroying SIP dialog 'xxxxxxxxxxxx' 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.000000000 -0400
+++ chan_sip.c.patched 2008-06-13 08:56:37.000000000 -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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|