<!--<param name="xml-handler-bindings" value="dialplan"/>-->
<!--
- The following options identifies a py script that is launched
+ The following options identifies a py module that is launched
at startup and may live forever in the background.
You can define multiple lines, one for each script you
need to run.
-->
- <!--<param name="startup-script" value="startup_script_1.py"/>-->
- <!--<param name="startup-script" value="startup_script_2.py"/>-->
+ <!--<param name="startup-script" value="startup_script_1"/>-->
+ <!--<param name="startup-script" value="startup_script_2"/>-->
</settings>
</configuration>
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Python Framework Loading...\n");
+ globals.pool = pool;
+
if (!Py_IsInitialized()) {
// initialize python system
PyEval_ReleaseLock();
}
- globals.pool = pool;
do_config();
/* connect my internal structure to the blank pointer passed to me */