diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-07 16:51:11 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-07 16:51:11 +0000 |
commit | bdded081e2d38d8c9a93ac0a50c2edcde8f883a5 (patch) | |
tree | 10da8cb3688eca75ee9e73e608dfeb7cb1ee410b /channels | |
parent | d442e27c97429f69cd8b15ea61a4b33e8d8a79af (diff) |
Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42264 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 68417ffb7..6f67557f4 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11335,7 +11335,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); } } else { - ast_log(LOG_WARNING, "Strange... The other side of the bridge does not have a udptl struct\n"); + if (option_debug > 1) + ast_log(LOG_DEBUG, "Strange... The other side of the bridge does not have a udptl struct\n"); ast_mutex_lock(&bridgepvt->lock); bridgepvt->t38.state = T38_DISABLED; ast_mutex_unlock(&bridgepvt->lock); @@ -11347,7 +11348,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru } } else { /* Other side is not a SIP channel */ - ast_log(LOG_WARNING, "Strange... The other side of the bridge is not a SIP channel\n"); + if (option_debug > 1) + ast_log(LOG_DEBUG, "Strange... The other side of the bridge is not a SIP channel\n"); p->t38.state = T38_DISABLED; if (option_debug > 1) ast_log(LOG_DEBUG,"T38 state changed to %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : "<none>"); |