[SR-Users] app_python and handlers.py not working

Konstantin M. evilzluk at gmail.com
Mon Sep 9 22:04:35 CEST 2013


Hi Brian,

Could you please show me an error(s) and python files?


2013/9/9 Brian Wallen <bwallen at gmail.com>

> I'm trying to setup app_python and I'm using the handlers.py script from
> the git repo to test. I get the script to load and mod_init() and
> child_init() both run, but I can't figure out how to get handler() to run.
> I tried adding python_exec("handler") to my config file but Kamailio
> doesn't start like that. It says I have a syntax error in my config file.
> I've tried versions 4.0.3 from the Ubuntu repo as well as building from git
> and both have the same results. Is python support broken or am I just doing
> something wrong?
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130909/6aa30574/attachment.html>


More information about the sr-users mailing list