[SR-Users] sdp_remove_line_by_prefix

Mikko Lehto mslehto at iki.fi
Mon May 9 09:21:40 CEST 2016


Alberto Sagredo <alberto.sagredo at avanzada7.com>:
 
> Im trying to remove my Asterisk s= line on SDP but when doing:
> 
> sdp_remove_line_by_prefix("s=Asterisk");
> 
> Nothing happens.

Hi Alberto

Did you try with 4.4 yet?
I made some changes to sdpops and I think your example should now work
as well as some other short comings:
https://github.com/kamailio/kamailio/commit/5db4cec2c9e8ab62c711738eae181afa69c1724d

Best regards

-- 
Mikko Lehto



More information about the sr-users mailing list