I've reported this before and i can tell that it is still happening in the latest v1.4.
- just create a dialplan that calls a python script
- dial that dialplan entry
Example code (works with anything that invokes session):
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
def handler(session, args):
freeswitch.consoleLog("notice", "Testing123...")
freeswitch.consoleLog("notice", "Dumping current CDR INFO")
freeswitch.consoleLog("info", str(session.getXMLCDR()))
freeswitch.consoleLog("notice", "The END!")
mod_pyhton crashes everytime the script is called right after a freeswitch start (the very first time session is invoked inside a mod_python python script).
After the first time (error), everything starts to work just fine.
This doesn't happen in e6b8b3e4f2deac73547bc9b9a2cb3e1d3147d101 from v1.2.stable
Should i open a jira on this?
--