git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10482 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
546eb85721
commit
9ceccbe213
|
@ -1285,9 +1285,6 @@ SWITCH_STANDARD_API(uuid_deflect)
|
|||
msg.message_id = SWITCH_MESSAGE_INDICATE_DEFLECT;
|
||||
switch_core_session_receive_message(tsession, &msg);
|
||||
stream->write_function(stream, "+OK:%s\n", msg.string_reply);
|
||||
if (switch_set_flag((&msg), SCSMF_FREE_STRING_REPLY)) {
|
||||
free(msg.string_reply);
|
||||
}
|
||||
switch_core_session_rwunlock(tsession);
|
||||
} else {
|
||||
stream->write_function(stream, "-ERR No Such Channel %s!\n", uuid);
|
||||
|
|
Loading…
Reference in New Issue