MODLANG-116
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13993 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b9ac9599d0
commit
d53d493ba7
|
@ -99,6 +99,9 @@ bool Session::ready()
|
||||||
{
|
{
|
||||||
bool r;
|
bool r;
|
||||||
|
|
||||||
|
if (!session) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
sanity_check(false);
|
sanity_check(false);
|
||||||
r = switch_channel_ready(channel) != 0;
|
r = switch_channel_ready(channel) != 0;
|
||||||
do_hangup_hook();
|
do_hangup_hook();
|
||||||
|
|
Loading…
Reference in New Issue