<div dir="ltr"><div>Hello.</div><div><br></div><div>Kamailio 5.2.1, Debian 10.</div><div><br></div><div>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:</div><div><br></div><div>subst_body('/^s=(.*)/s=root/')</div><div><br></div><div>just before 'final' t_relay().</div><div><br></div><div>Either Kamailio just adds "s=root" to SDP leaving first "s=" intact, or adds just "root", or does nothing.<br></div><div><br></div><div>Also I've tried msg_apply_changes() before and after these manipulations, still no result.</div><div><br></div><div>Is it possible to make this in Kamailio without source code modification?<br></div></div>