[asterisk-commits] rizzo: branch rizzo/astobj2 r77632 - /team/rizzo/astobj2/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Jul 28 04:39:19 CDT 2007
Author: rizzo
Date: Sat Jul 28 04:39:18 2007
New Revision: 77632
URL: http://svn.digium.com/view/asterisk?view=rev&rev=77632
Log:
diff reduction from trunk
Modified:
team/rizzo/astobj2/channels/chan_sip.c
Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=77632&r1=77631&r2=77632
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Sat Jul 28 04:39:18 2007
@@ -8344,8 +8344,9 @@
add_header_contentLength(&req, 0);
initialize_initreq(p, &req);
- if (sip_debug_test_pvt(p))
+ if (sip_debug_test_pvt(p)) {
ast_verbose("REGISTER %d headers, %d lines\n", p->initreq.headers, p->initreq.lines);
+ }
if (option_debug > 3)
ast_verbose("REGISTER %d %s@%s goes from %s to %s\n",
r->regattempts, r->username, r->hostname, regstate2str(r->regstate),
@@ -12667,7 +12668,6 @@
"Usage: sip show peer <name> [load]\n"
" Shows all details on one SIP peer and the current status.\n"
" Option \"load\" forces lookup of peer in realtime storage.\n";
-
static const char show_reg_usage[] =
"Usage: sip show registry\n"
@@ -15153,7 +15153,6 @@
/* We have a channel, find the bridge */
target.chan1 = targetcall_pvt->owner; /* Transferer to Asterisk */
-
target.chan2 = ast_bridged_channel(targetcall_pvt->owner); /* Asterisk to target */
if (!target.chan2 || !(target.chan2->_state == AST_STATE_UP || target.chan2->_state == AST_STATE_RINGING) ) {
@@ -17272,8 +17271,7 @@
else
authlist = auth;
- if (option_verbose > 2)
- ast_verbose("Added authentication for realm %s\n", realm);
+ ast_verb(3, "Added authentication for realm %s\n", realm);
return authlist;
More information about the asterisk-commits
mailing list