FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the top. I added it explicitly to compensate.

This commit is contained in:
Anthony Minessale 2014-10-16 10:58:55 -05:00
parent e3e267f462
commit 3cd0400d38

View File

@ -250,6 +250,8 @@ static void eval_some_python(const char *funcname, char *args, switch_core_sessi
goto done_swap_out;
}
PyRun_SimpleString("from freeswitch import *");
if (session) {
sp = mod_python_conjure_session(module, session);
}