提交 49aec077 authored 作者: Robert Joly's avatar Robert Joly

Fixed call deflect, previous code was uncompilable on any version of OPAL. Sorry…

Fixed call deflect, previous code was uncompilable on any version of OPAL. Sorry total brain fade there.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13606 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0eac3191
......@@ -995,9 +995,9 @@ switch_status_t FSConnection::receive_message(switch_core_session_message_t *msg
case SWITCH_MESSAGE_INDICATE_DEFLECT:
{
char transfer_to[128] = "";
switch_set_string(transfer_to, msg->string_arg);
GetCall().Transfer(transfer_to);
PSafePtr<OpalConnection> other = GetOtherPartyConnection();
if (other != NULL)
other->TransferConnection(msg->string_arg);
break;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论