[commit] r13606 - freeswitch/trunk/src/mod/endpoints/mod_opal
Author: robertj Date: Wed Jun 3 23:15:05 2009 New Revision: 13606 Log: Fixed call deflect, previous code was uncompilable on any version of OPAL. Sorry total brain fade there. Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp (original) +++ freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp Wed Jun 3 23:15:05 2009 @@ -995,9 +995,9 @@ 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; }
participants (1)
-
FreeSWITCH SVN