Re: [SR-Users] [sr-dev] enabling app_python module in Kamailio

2011-11-01 Thread Daniel-Constantin Mierla
Hello, what is the kamailio version you are running? At some point there was an issue with path to the python script due to changes done to it by some C functions. Should be fixed in latest 3.1 and 3.2 branches anyhow, but let's see what you use so we don't hunt solved cases. Cheers, Daniel

Re: [SR-Users] [sr-dev] enabling app_python module in Kamailio

2011-10-12 Thread Muhammad Nasir Bhutta
Hi, Here is some more information on the error, I have tried to print all the processing steps.. DEBUG: init_mod: app_python 0(10480) ERROR: app_python [python_mod.c:102]: lengths of different names script_name = 34, mod_init_fname = 8, child_init_mname 10 0(10480) ERROR: app_python [pytho

Re: [SR-Users] [sr-dev] enabling app_python module in Kamailio

2011-10-12 Thread Muhammad Nasir Bhutta
Hi Timo, Yes, I have investigated it a bit more. The problem is not that warning it is an error which stops the Kamailio to start.. The error is "0(25062) DEBUG: [sr_module.c:885]: DEBUG: init_mod: app_python 0(25062) ERROR: app_python [python_mod.c:158]: cannot import handler 0(25062) ERROR

Re: [SR-Users] [sr-dev] enabling app_python module in Kamailio

2011-10-12 Thread Timo Reimann
On 11.10.2011 15:08, Muhammad Nasir Bhutta wrote: > I am trying to enable the app_python module in Kamailio to run a simple > python script externally parallel with Kamailio proxy, > > > > While I try to load the module “app_python.so” in configuration file, > the Kamailio server fails to start