mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Change the warning message if we can't do native bridge because of diffrent codecs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
rtp.c
2
rtp.c
@@ -1201,7 +1201,7 @@ int ast_rtp_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags, st
|
|||||||
codec1 = pr1->get_codec(c1);
|
codec1 = pr1->get_codec(c1);
|
||||||
/* Hey, we can't do reinvite if both parties speak diffrent codecs */
|
/* Hey, we can't do reinvite if both parties speak diffrent codecs */
|
||||||
if (codec0 != codec1) {
|
if (codec0 != codec1) {
|
||||||
ast_log(LOG_WARNING, "codec0 = %d is not codec1 = %d, can't do reinvite\n",codec0,codec1);
|
ast_log(LOG_WARNING, "codec0 = %d is not codec1 = %d, cannot native bridge.\n",codec0,codec1);
|
||||||
ast_mutex_unlock(&c0->lock);
|
ast_mutex_unlock(&c0->lock);
|
||||||
ast_mutex_unlock(&c1->lock);
|
ast_mutex_unlock(&c1->lock);
|
||||||
return -2;
|
return -2;
|
||||||
|
Reference in New Issue
Block a user