mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 18:30:01 +00:00
Whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12606 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
73e738ab9d
commit
4adb99129e
@ -490,7 +490,7 @@ static switch_status_t handle_msg_sendmsg(listener_t *listener, int arity, ei_x_
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* release the lock returned by switch_core_locate_session */
|
/* release the lock returned by switch_core_session_locate */
|
||||||
switch_core_session_rwunlock(session);
|
switch_core_session_rwunlock(session);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -579,14 +579,13 @@ static switch_status_t handle_msg_handlecall(listener_t *listener, erlang_msg *m
|
|||||||
ei_x_encode_atom(rbuf, "error");
|
ei_x_encode_atom(rbuf, "error");
|
||||||
ei_x_encode_atom(rbuf, "session_attach_failed");
|
ei_x_encode_atom(rbuf, "session_attach_failed");
|
||||||
}
|
}
|
||||||
|
/* release the lock returned by switch_core_session_locate */
|
||||||
|
switch_core_session_rwunlock(session);
|
||||||
} else {
|
} else {
|
||||||
ei_x_encode_tuple_header(rbuf, 2);
|
ei_x_encode_tuple_header(rbuf, 2);
|
||||||
ei_x_encode_atom(rbuf, "error");
|
ei_x_encode_atom(rbuf, "error");
|
||||||
ei_x_encode_atom(rbuf, "badsession");
|
ei_x_encode_atom(rbuf, "badsession");
|
||||||
}
|
}
|
||||||
/* release the lock returned by switch_core_locate_session */
|
|
||||||
switch_core_session_rwunlock(session);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ei_x_encode_tuple_header(rbuf, 2);
|
ei_x_encode_tuple_header(rbuf, 2);
|
||||||
ei_x_encode_atom(rbuf, "error");
|
ei_x_encode_atom(rbuf, "error");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user