I think you've crawled down that rabbit hole about two millennia prematurely. There is a much simpler explanation for why you're getting a duplicated SDP stanza - in the logic of your route script. It's not a bug in Kamailio.
I can't tell you exactly what the cause is, but I believe this avenue of exploration will prove fruitful. It's a fairly common problem.
On Wed, Oct 24, 2018 at 12:49:55PM +0000, Wilkins, Steve wrote:
I was looking at the sdpops_mod.c code hoping that there was an easy way to remove a sess_version (Session Description Protocol Version (v): 0) structure, but there does not appear to be that functionality in that module. It might be a bit of work to remove a duplicate sess_version line.
I am using Kamailio 5.1, does anyone know if this is an issue in later versions?
Thank you, -Steve
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users