[SR-Users] Modify session name in SDP
ZZ Wave
zzwave at gmail.com
Thu Apr 28 15:53:21 CEST 2022
Hello.
Kamailio 5.2.1, Debian 10.
I need to change session name (s=) in SDP before relaying it to next hop,
and for unknown reason I can't do it with virtually any TEXTOPS function,
everything replace*, subst*, *body*... For example this from TEXTOPS
documentation:
subst_body('/^s=(.*)/s=root/')
just before 'final' t_relay().
Either Kamailio just adds "s=root" to SDP leaving first "s=" intact, or
adds just "root", or does nothing.
Also I've tried msg_apply_changes() before and after these manipulations,
still no result.
Is it possible to make this in Kamailio without source code modification?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220428/9db8e324/attachment.htm>
More information about the sr-users
mailing list