[sr-dev] enabling app_python module in Kamailio

Muhammad Nasir Bhutta mbhutta at btlnet.co.uk
Tue Oct 11 15:08:46 CEST 2011


Hi,
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

I am wandering if any one can please help in this matter, I shall be very thankful ..

With many thanks ..

Kind Regards,
Nasir

Muhammad Nasir Bhutta
Solutions Architect

Britannic Technologies Ltd
t: +44 1483 544812
f: +44 845 0501001
mbhutta at btlnet.co.uk<mailto:mbhutta at btlnet.co.uk>
www.btlnet.co.uk<http://www.btlnet.co.uk>
[cid:image001.jpg at 01CC881F.1EA78300]<http://www.linkedin.com/company/britannic-technologies/products>[cid:image002.jpg at 01CC881F.1EA78300]<http://www.twitter.com/BritannicTech>[cid:image003.jpg at 01CC881F.1EA78300]<http://www.facebook.com/pages/Britannic-Technologies/202957249732198>[cid:image004.jpg at 01CC881F.1EA78300]<http://www.youtube.com/user/BritannicTech>
________________________________
[cid:image007.jpg at 01CC881F.4A995BF0]<http://www.btlnet.co.uk/>

Watch the Telegraph Business Club video about Britannic at our educational TV site - britannictech.tv<http://britannictech.tv>

Our 8th Annual Convergence Summit is being held at Silverstone on 17th November 2011. Book your place now<http://www.btlnet.co.uk/news--events/2011/convergence-summit-2011/register> and discover the world of Hosting and Cloud Services.
________________________________
This email and any files transmitted with it are confidential and intended for the addressee only. If you are not the intended recipient please notify the sender and delete this email. The views expressed in this email are personal, and do not constitute a commitment by Britannic Technologies Ltd unless specified by a separate, written agreement.

Registered Office: Britannic House, Merrow Business Park, Guildford, Surrey GU4 7WA. Registered in England no. 2090797.
________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1205 bytes
Desc: image001.jpg
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1230 bytes
Desc: image002.jpg
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1147 bytes
Desc: image003.jpg
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 1202 bytes
Desc: image004.jpg
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 4408 bytes
Desc: image007.jpg
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20111011/19852dba/attachment-0009.jpg>


More information about the sr-dev mailing list