[SR-Users] How to remove attribute from SDP ?

Vitaliy Aleksandrov vitalik.voip at gmail.com
Wed May 14 22:05:22 CEST 2014

I absolutely forgot about the possibility of embedding scripting 
languages to configuration.
Lua did the trick.

Thanks for the right direction and example.

> I can share my solution, using app_python. I'm using this in 
> production environment during 2 years.
> loadmodule "app_python.so"
> modparam("app_python", "script_name", "/opt/kamailio/python/sdp.py")
> modparam("app_python", "mod_init_function", "mod_init")
> modparam("app_python", "child_init_method", "child_init")
> and put in route():
> python_exec("ParseSDP", $mb);
> Here I shared sdp.py:
> http://paste.debian.net/99473/
> Note, that it is just for reference only, you need to know what to 
> remove/replace. That script is not exactly what are you're looking for!
> _______________________________________________
> 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/20140514/47fdd790/attachment.html>

More information about the sr-users mailing list