[SR-Users] Accessing SDP changes

Pete Kelly pkelly at gmail.com
Fri Dec 9 16:17:02 CET 2016


Hi

I am using Kamailio 4.4. and calling the function sdp_remove_transport in
order to remove some SRTP media lines.

The function works (of course!) however I would like to get access to the
modified SDP within the cfg.

I thought this would do the trick:

sdp_remove_transport("RTP/SAVP");
sdp_get("$avp(foo)");
xlog("$avp(foo)");

However $avp(foo) does not contain the newly modified SDP.

Is there a way for me to access it? I have been looking at things like
t_save_lumps() and msg_apply_changes().

Any pointers or confirmation that this is or isn't possible would be very
welcome!

Thanks

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161209/6c7a1ef6/attachment.html>


More information about the sr-users mailing list