[asterisk-commits] qwell: branch qwell/codec_consistency r110612 - in /team/qwell/codec_consiste...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 24 10:30:34 CDT 2008


Author: qwell
Date: Mon Mar 24 10:30:34 2008
New Revision: 110612

URL: http://svn.digium.com/view/asterisk?view=rev&rev=110612
Log:
Merged revisions 110610 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r110610 | file | 2008-03-24 10:28:25 -0500 (Mon, 24 Mar 2008) | 6 lines

Only print out the set_address_from_contact host verbose message if debugging is enabled on the dialog.
(closes issue #12280)
Reported by: rjain
Patches:
      chan_sip.c.diff uploaded by rjain (license 226)

........

Modified:
    team/qwell/codec_consistency/   (props changed)
    team/qwell/codec_consistency/channels/chan_sip.c

Propchange: team/qwell/codec_consistency/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Mar 24 10:30:34 2008
@@ -1,1 +1,1 @@
-/trunk:1-110579
+/trunk:1-110611

Modified: team/qwell/codec_consistency/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/qwell/codec_consistency/channels/chan_sip.c?view=diff&rev=110612&r1=110611&r2=110612
==============================================================================
--- team/qwell/codec_consistency/channels/chan_sip.c (original)
+++ team/qwell/codec_consistency/channels/chan_sip.c Mon Mar 24 10:30:34 2008
@@ -9745,7 +9745,9 @@
 		port = !ast_strlen_zero(pt) ? atoi(pt) : STANDARD_SIP_PORT;
 	}
 
-	ast_verbose("--- set_address_from_contact host '%s'\n", host);
+	if (sip_debug_test_pvt(pvt)) {
+		ast_verbose("--- set_address_from_contact host '%s'\n", host);
+	}
 
 	/* XXX This could block for a long time XXX */
 	/* We should only do this if it's a name, not an IP */




More information about the asterisk-commits mailing list