Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-14 Thread phil lemelin
can confirm, something is not good there. Not sure what exactly but > I will look at this as soon as possible and push a fix if needs. > > > 2013/6/13 phil lemelin > >> Good day people, >> >> I downloaded the source code for Kamailio on my CentOS 6 server and did &

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-13 Thread phil lemelin
tOS 6 installation. I did run kamailio with strace but could not see anything obvious. Any suggestions ? On Thu, Jun 13, 2013 at 10:58 AM, phil lemelin wrote: > As requested, compressed core dump. > > > On Thu, Jun 13, 2013 at 10:51 AM, Konstantin M. wrote: > >> Could you pleas

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-13 Thread phil lemelin
0(4536) INFO: rr [../outbound/api.h:49]: Failed to import bind_ob > 0(4536) INFO: rr [rr_mod.c:159]: outbound module not available > 0(4536) INFO: usrloc [hslot.c:53]: locks array size 512 > 0(4536) INFO: [udp_server.c:179]: INFO: udp_init: SO_RCVBUF is > initially 163840 > 0(453

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-13 Thread phil lemelin
DEBUG: tm [tm.c:751]: TM - (sizeof cell=4872, sip_msg=1624) initializing... ^[[0;39;49m^[[0;39;49m 0(3113) DEBUG: tm [callid.c:105]: Call-ID initialization: '2c32dacb59169bda' *snip* On Thu, Jun 13, 2013 at 9:48 AM, Andrew Mortensen wrote: > > On Jun 13, 2013, at 7:23 AM, phil lemel

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-13 Thread phil lemelin
; have to be configured properly. > For example: > modparam("app_python", "script_name", "/path/to/python/file.py" > modparam("app_python", "mod_init_function", "mod_init") > modparam("app_python", "child_init_method&q

[SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-13 Thread phil lemelin
Good morning, I'm trying to use the app_python module with Kamailio but i'm unable to even reach a point where it loads my python module. My host: CentOS release 6.3 (Final) 2.6.32-042stab076.7 x86_64 The installed packages: [root@host ~]# rpm -qa | grep kamai kamailio-4.0.1-1.1.x86_64 kamaili