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?