mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-08 05:11:51 +00:00
handle failed originate a little more gracefully (MODLANG-70)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9049 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -50,9 +50,13 @@ bool Session::end_allow_threads()
|
||||
|
||||
void Session::setLUA(lua_State * state)
|
||||
{
|
||||
L = state;
|
||||
lua_setglobal(L, uuid);
|
||||
lua_getfield(L, LUA_GLOBALSINDEX, uuid);
|
||||
if (uuid) {
|
||||
L = state;
|
||||
lua_setglobal(L, uuid);
|
||||
lua_getfield(L, LUA_GLOBALSINDEX, uuid);
|
||||
} else {
|
||||
//did we fail to make a session?
|
||||
}
|
||||
}
|
||||
|
||||
lua_State *Session::getLUA()
|
||||
|
||||
Reference in New Issue
Block a user