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

Andrew Mortensen admorten at isc.upenn.edu
Thu Jun 13 15:48:27 CEST 2013


On Jun 13, 2013, at 7:23 AM, phil lemelin <phil.lemelin at gmail.com> wrote:

> 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. 

It's actually failing even before that. It's unable to load the db_mysql module:

> 0(751) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: db_mysql
>  0(751) ERROR: <core> [sr_module.c:939]: init_mod(): Error while initializing module db_mysql (/usr/lib64/kamailio/modules/db_mysql.so)

Fix that first.

andrew




More information about the sr-users mailing list