Re: [SR-Users] kamailio and app_python

2014-06-11 Thread Örn Arnarson
I'm guessing that accessing pseudo-variables is still not possible in python? I haven't seen anything indicating so in any event. Could you confirm? Will probably switch to lua as well. On Wed, Oct 3, 2012 at 4:38 PM, Konstantin M. wrote: > Hello, > I can contribute a python part, but currently I

Re: [SR-Users] kamailio and app_python

2012-10-05 Thread Daniel-Constantin Mierla
Hello, On 10/4/12 4:15 PM, Victor Seva wrote: 2012/10/3 Daniel-Constantin Mierla : Hello, Hi Daniel, the best would be to enhance the module to be able to get/set pseudo-variables. I am not a python guy at all, so I cannot help much, however I can assist with the C side in kamailio if someon

Re: [SR-Users] kamailio and app_python

2012-10-05 Thread Daniel-Constantin Mierla
Hello, On 10/3/12 6:38 PM, Konstantin M. wrote: Hello, I can contribute a python part, but currently I'm a very busy at the moment. I will write a patch to enable this ability (and many other features) as soon as possible. great, looking forward to your contributions. Cheers, Daniel 2012/

Re: [SR-Users] kamailio and app_python

2012-10-04 Thread Victor Seva
2012/10/3 Daniel-Constantin Mierla : > Hello, Hi Daniel, > the best would be to enhance the module to be able to get/set > pseudo-variables. I am not a python guy at all, so I cannot help much, > however I can assist with the C side in kamailio if someone starts > development and has questions ab

Re: [SR-Users] kamailio and app_python

2012-10-03 Thread Konstantin M.
Hello, I can contribute a python part, but currently I'm a very busy at the moment. I will write a patch to enable this ability (and many other features) as soon as possible. 2012/10/3 Daniel-Constantin Mierla > Hello, > > the best would be to enhance the module to be able to get/set > pseudo-va

Re: [SR-Users] kamailio and app_python

2012-10-03 Thread Daniel-Constantin Mierla
Hello, the best would be to enhance the module to be able to get/set pseudo-variables. I am not a python guy at all, so I cannot help much, however I can assist with the C side in kamailio if someone starts development and has questions about PVs. Calling config functions with parameters fro

[SR-Users] kamailio and app_python

2012-10-01 Thread Victor Seva
Hi, is there any way to return values from a call to python_exec function orther than the default returned integer? Following code generates this error: Oct 1 09:08:23 zskio /usr/sbin/kamailio[21789]: ERROR: app_python [python_support.c:38]: python_exec2: Unhandled exception in the Python code: