[SR-Users] Change SDP Session Name

Karsten Horsmann khorsmann at gmail.com
Mon Nov 11 22:05:58 CET 2019


Hi Alvaro,

many ways to do that. Depends on your rtp processing a bit.

Something like that if you use rtpengine.

modparam("rtpengine", "read_sdp_pv", "$avp(sdp)")

And somewhere in your routing script
sdp_get("$avp(sdp)");
avp_subst("$avp(sdp)","/(^s=.*)/s=-\r/");

https://www.kamailio.org/docs/modules/5.3.x/modules/sdpops.html

Cheers
Karsten

Alvaro Araos <alvaro at voxcore.cl> schrieb am Mo., 11. Nov. 2019, 18:44:

> Hi everyone,
>
> Exists some way to change the SDP Session Name value (s=)???
>
> Saludos,
> Alvaro Araos
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191111/213c3393/attachment.html>


More information about the sr-users mailing list