diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-05 17:59:15 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-05 17:59:15 +0000 |
commit | c073be6427b09795beadbfb2222265b6813a030d (patch) | |
tree | 5763d2496a201c5099a19110ce111f7a9e60ce00 /channels | |
parent | 2780858dde77ff62015006b01c17f06abc8bfed7 (diff) |
Only set the ALREADYGONE flag once in handle_response()
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48272 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a09e5ecc8..82f12aea5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -10153,7 +10153,6 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ if ((resp >= 300) && (resp < 700)) { if ((option_verbose > 2) && (resp != 487)) ast_verbose(VERBOSE_PREFIX_3 "Got SIP response %d \"%s\" back from %s\n", resp, rest, ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr)); - ast_set_flag(p, SIP_ALREADYGONE); if (p->rtp) { /* Immediately stop RTP */ ast_rtp_stop(p->rtp); @@ -11439,7 +11438,7 @@ retrylock: goto retrylock; } if (!lockretry) { - ast_log(LOG_ERROR, "We could NOT get the channel lock for %s! \n", p->owner->name); + ast_log(LOG_ERROR, "We could NOT get the channel lock for %s - Call ID %s! \n", p->owner->name, p->callid); ast_log(LOG_ERROR, "SIP MESSAGE JUST IGNORED: %s \n", req.data); ast_log(LOG_ERROR, "BAD! BAD! BAD!\n"); return 1; |