Re: [SR-Users] app_python not able to import from Router

2014-06-02 Thread Konstantin M.
Hello, I will update the docs as soon as possible. Thanks for report! 2014-06-02 19:22 GMT+04:00 Olle E. Johansson : > > On 02 Jun 2014, at 16:38, Örn Arnarson wrote: > > > In lieu of better documentation, perhaps the sample code should be > > changed or altogether removed. > To sr-dev: Docume

Re: [SR-Users] app_python not able to import from Router

2014-06-02 Thread Olle E. Johansson
On 02 Jun 2014, at 16:38, Örn Arnarson wrote: > In lieu of better documentation, perhaps the sample code should be > changed or altogether removed. To sr-dev: Documentation needs an update. /O ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-u

Re: [SR-Users] app_python not able to import from Router

2014-06-02 Thread Örn Arnarson
Hello again, It seems as though the python module has been changed, but the example python script wasn't changed to reflect the changes. From looking at the source code it seems to me that the function hierarchy had been changed (or created, rather). So if the following line is changed from: "from

[SR-Users] app_python not able to import from Router

2014-05-28 Thread Örn Arnarson
Hello, I've tried installing kamailio both from deb and from source (4.0.4 in both cases) on Ubuntu server 14.04. In both cases, I'm having problems with importing from the Router module in python, which I presume is made available when invoked from kamailio with the python module loaded. Here's