Skip to content
Snippets Groups Projects
Commit 53cf63c3 authored by Joshua Colp's avatar Joshua Colp
Browse files

Convert some warnings into debug messages since they can exist under perfectly...

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: https://origsvn.digium.com/svn/asterisk/trunk@42264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e8ca2360
Branches
Tags
No related merge requests found
...@@ -11335,7 +11335,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru ...@@ -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); ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
} }
} else { } 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); ast_mutex_lock(&bridgepvt->lock);
bridgepvt->t38.state = T38_DISABLED; bridgepvt->t38.state = T38_DISABLED;
ast_mutex_unlock(&bridgepvt->lock); ast_mutex_unlock(&bridgepvt->lock);
...@@ -11347,7 +11348,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru ...@@ -11347,7 +11348,8 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
} }
} else { } else {
/* Other side is not a SIP channel */ /* 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; p->t38.state = T38_DISABLED;
if (option_debug > 1) 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>"); ast_log(LOG_DEBUG,"T38 state changed to %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : "<none>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment