Hello,
with the devel branch, you can try something like:
msg_set_buffer("$msg(fline)\r\n$msg(hdrs)\r\n\r\n$msg(body)");
You should do it before any change done to incoming request, otherwise place a msg_apply_changes().
With stable version (5.5), I think msg_set_buffer() is available in KEMI exports only (textopsx module), so you can do some inline execution of javascript (app_jsdt), lua (app_lua), etc ...
Cheers, Daniel
On 08.12.21 14:02, Mihovil Kolaric wrote:
Hi,
unfortunately, Alex is right: manipulations ot the request-URI do not seem to re-write the whole line, the malformed line-ending (SIP/2.0<blank><CR><LF>) remains in the forwarded message.
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: