[SR-Users] [sr-dev] enabling app_python module in Kamailio
Timo Reimann
timo.reimann at 1und1.de
Wed Oct 12 11:37:53 CEST 2011
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.. I can’t see what is the problem ..
>
>
>
> The steps, I am following are that:
>
>
>
> - Script written in python saved in home directory.
>
> - Loadmodule “app_python.so” statement in configuration file.
>
> - Modparam(“app_python”, “script_name”, “location of script”)
>
> - Python_exec(“function”, “parameters list”) ..
>
>
>
> I have also tried to check the Kamailio configuration option, It gives
> following warning,
>
> 0(2942) WARNING: <core> [sr_module.c:584]:
> /usr/local/lib64/kamailio/modules/app_python.so: exports dlflags
> interface is deprecated and it will not be supported in newer versions;
> consider using mod_register() instead
Is there no other error message? What you provided is just a WARNING
which shouldn't be a show stopper.
--Timo
More information about the sr-users
mailing list