Hello,
On 10/4/12 4:15 PM, Victor Seva wrote:
2012/10/3 Daniel-Constantin Mierla <mico...@gmail.com>:
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 about PVs.
I had to change to lua scripting in order to use pvs.
good choice :-)
It would be good anyhow to update the app_python to work with pvs, but
it's not me that can do it, fortunately someone else volunteered.
Cheers,
Daniel
Calling config functions with parameters from embedded interpreters exposes
the risk of memory leaks, so it is better to avoid it. Anyhow, added headers
are not visible immediately (even when done form config file), unless you
call msg_apply_changes().
Oh. Thanks.
As a workaround for now, I suggest you put your token somehow in request uri
(e.g., a parameter).
As I said before, I had to use lua scripts in order to be able to use pvs.
Thanks a lot for your reply.
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users