Hi guys.

I've reported this before and i can tell that it is still happening in the latest v1.4.

How reproduce:

  1. just create a dialplan that calls a python script
  2. dial that dialplan entry

Example code (works with anything that invokes session):

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import absolute_import
# http://docs.python.org/whatsnew/pep-328.html

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?

--

Nuno Miguel Reis | Unified Communication Systems
M. +351 913907481 | nreis@wavecom.pt

WAVECOM-Soluções Rádio, S.A.
Cacia Park | Rua do Progresso, Lote 15

3800-639 AVEIRO | Portugal

T. +351 309 700 225 | F. +351 234 919 191

GPS | www.wavecom.pt

Description: Description: WavecomSignature

Publicity