chan_sip: Convert 'just did sched_add waitid...' from warning to debug message.
authorWalter Doekes <walter+asterisk@wjd.nu>
Tue, 13 Aug 2013 18:47:58 +0000 (18:47 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Tue, 13 Aug 2013 18:47:58 +0000 (18:47 +0000)
Patches:
    reviewboard-2377.patch uploaded by Paul Belanger
Review: https://reviewboard.asterisk.org/r/2377/
........

Merged revisions 396582 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 396583 from http://svn.asterisk.org/svn/asterisk/branches/11

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

channels/chan_sip.c

index 6b4d1fa..3fa04b0 100644 (file)
@@ -23403,8 +23403,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest
                                        wait = ast_random() % 2000;
                                }
                                p->waitid = ast_sched_add(sched, wait, sip_reinvite_retry, dialog_ref(p, "passing dialog ptr into sched structure based on waitid for sip_reinvite_retry."));
-                               ast_log(LOG_WARNING, "just did sched_add waitid(%d) for sip_reinvite_retry for dialog %s in handle_response_invite\n", p->waitid, p->callid);
-                               ast_debug(2, "Reinvite race. Waiting %d secs before retry\n", wait);
+                               ast_debug(2, "Reinvite race. Scheduled sip_reinvite_retry in %d secs in handle_response_invite (waitid %d, dialog '%s')\n",
+                                               wait, p->waitid, p->callid);
                        }
                }
                break;