Merged revisions 54235 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 13 Feb 2007 21:33:03 +0000 (21:33 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 13 Feb 2007 21:33:03 +0000 (21:33 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54235 | russell | 2007-02-13 15:31:22 -0600 (Tue, 13 Feb 2007) | 2 lines

Remove a couple of leftover debug messages

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54239 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 45e343d..fd153f8 100644 (file)
@@ -5412,14 +5412,10 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
        }
        
        if (sin.sin_addr.s_addr && !sendonly) {
        }
        
        if (sin.sin_addr.s_addr && !sendonly) {
-               if (option_debug > 1)
-                       ast_log(LOG_DEBUG, "Setting call off HOLD! - %s\n", p->callid);
                ast_queue_control(p->owner, AST_CONTROL_UNHOLD);
                /* Activate a re-invite */
                ast_queue_frame(p->owner, &ast_null_frame);
        } else if (!sin.sin_addr.s_addr || sendonly) {
                ast_queue_control(p->owner, AST_CONTROL_UNHOLD);
                /* Activate a re-invite */
                ast_queue_frame(p->owner, &ast_null_frame);
        } else if (!sin.sin_addr.s_addr || sendonly) {
-               if (option_debug > 1)
-                       ast_log(LOG_DEBUG, "Setting call on HOLD! - %s\n", p->callid);
                ast_queue_control_data(p->owner, AST_CONTROL_HOLD, 
                                       S_OR(p->mohsuggest, NULL),
                                       !ast_strlen_zero(p->mohsuggest) ? strlen(p->mohsuggest) + 1 : 0);
                ast_queue_control_data(p->owner, AST_CONTROL_HOLD, 
                                       S_OR(p->mohsuggest, NULL),
                                       !ast_strlen_zero(p->mohsuggest) ? strlen(p->mohsuggest) + 1 : 0);