Re: [SR-Users] app_python access to message body content

2016-08-08 Thread Daniel-Constantin Mierla
On 07/08/16 21:40, Anthony Joseph Messina wrote: > On Sunday, August 7, 2016 3:32:32 PM CDT Alex Balashov wrote: >> On 08/07/2016 03:13 PM, Anthony Joseph Messina wrote: >>> I'm trying to play around a bit with app_python using the examples in the >>> source. I'd like to access the content of th

Re: [SR-Users] app_python access to message body content

2016-08-07 Thread Alex Balashov
On 08/07/2016 03:40 PM, Anthony Joseph Messina wrote: I guess I was thinking that the whole message would be available from within app_python. There's a big push to broaden and harmonise the embedded language APIs (chiefly Lua, but also Python AFAIK) in Kamailio 5.0. However, for now, the a

Re: [SR-Users] app_python access to message body content

2016-08-07 Thread Anthony Joseph Messina
On Sunday, August 7, 2016 3:32:32 PM CDT Alex Balashov wrote: > On 08/07/2016 03:13 PM, Anthony Joseph Messina wrote: > > I'm trying to play around a bit with app_python using the examples in the > > source. I'd like to access the content of the body of the SIP message, > > but > > can't figure ou

Re: [SR-Users] app_python access to message body content

2016-08-07 Thread Alex Balashov
On 08/07/2016 03:13 PM, Anthony Joseph Messina wrote: I'm trying to play around a bit with app_python using the examples in the source. I'd like to access the content of the body of the SIP message, but can't figure out how to do that. I can get headers, method, etc. How does one access body