mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
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
This commit is contained in:
parent
0eac3191a6
commit
49aec077ac
@ -995,9 +995,9 @@ switch_status_t FSConnection::receive_message(switch_core_session_message_t *msg
|
|||||||
|
|
||||||
case SWITCH_MESSAGE_INDICATE_DEFLECT:
|
case SWITCH_MESSAGE_INDICATE_DEFLECT:
|
||||||
{
|
{
|
||||||
char transfer_to[128] = "";
|
PSafePtr<OpalConnection> other = GetOtherPartyConnection();
|
||||||
switch_set_string(transfer_to, msg->string_arg);
|
if (other != NULL)
|
||||||
GetCall().Transfer(transfer_to);
|
other->TransferConnection(msg->string_arg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user