[asterisk-commits] rizzo: trunk r48543 - /trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Dec 17 05:47:09 MST 2006
Author: rizzo
Date: Sun Dec 17 06:47:08 2006
New Revision: 48543
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48543
Log:
define a mask SIP_INSECURE sam as for other sets of flags.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=48543&r1=48542&r2=48543
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Dec 17 06:47:08 2006
@@ -3437,6 +3437,7 @@
else if (p->invitestate != INV_CALLING)
sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
+ast_verbose("chan_sip1 sip_hangup flags invitestate %d 0x%x data <%s>\n", p->invitestate, p->flags[0].flags, p->initreq.data);
/* Start the process if it's not already started */
if (!ast_test_flag(&p->flags[0], SIP_ALREADYGONE) && !ast_strlen_zero(p->initreq.data)) {
if (needcancel) { /* Outgoing call, not up */
@@ -3502,6 +3503,7 @@
}
if (needdestroy)
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
+ast_verbose("chan_sip1 sip_hangup flags now 0x%x\n", p->flags[0].flags);
sip_pvt_unlock(p);
return 0;
}
@@ -7508,6 +7510,7 @@
{
struct sip_request resp;
+ast_verbose("transmit_request %s\n", sip_methods[sipmethod].text);
if (sipmethod == SIP_ACK)
p->invitestate = INV_CONFIRMED;
@@ -14656,6 +14659,7 @@
p->method = req->method; /* Find out which SIP method they are using */
if (option_debug > 3)
ast_log(LOG_DEBUG, "**** Received %s (%d) - Command in SIP %s\n", sip_methods[p->method].text, sip_methods[p->method].id, cmd);
+ ast_verbose("**** Received %s (%d) - Command in SIP %s\n", sip_methods[p->method].text, sip_methods[p->method].id, cmd);
if (p->icseq && (p->icseq > seqno)) {
if (option_debug)
@@ -14751,6 +14755,7 @@
case SIP_ACK:
/* Make sure we don't ignore this */
if (seqno == p->pendinginvite) {
+ast_verbose("setting state to INV_CONFIRMED\n");
p->invitestate = INV_CONFIRMED;
p->pendinginvite = 0;
__sip_ack(p, seqno, FLAG_RESPONSE, 0);
More information about the asterisk-commits
mailing list