<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Yes, this is possible. See the questions that deal with msg_apply_changes():<div><br></div><div><a href="https://www.kamailio.org/wiki/tutorials/faq/main">https://www.kamailio.org/wiki/tutorials/faq/main</a><br><br><div dir="ltr">—<div>Sent from mobile, with due apologies for brevity and errors.</div></div><div dir="ltr"><br><blockquote type="cite">On Feb 7, 2021, at 9:37 AM, alirsm <alirsm@protonmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>Call to a number forwarded to a FAX by using two Kamailio proxies. <br></div><div><br></div><div>(INVITE) --> KamailioA --> GW1 --> KamailioB --> GW2 --> FAX<br></div><div>FAX --> (RE-INVITE) --> GW2 --> KamailioB --> (TO Header being corrupted)<br></div><div><br></div><div>KamailioB is corrupting TO header when receiving RE-INVITE and causing the call to fail.<br></div><div><br></div><div>1) Only one "uac_replace_from()" is being used in each Kamailio.<br></div><div>2) GW1 is adding +1 (using E164 format) to URI and FROM headers.<br></div><div><br></div><div>I was wondering if any of the above might cause the TO header corruption.<br></div><div><br></div><div>Any help would be appreciated.<br></div><div>AL</div><div><br></div><span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span>sr-users@lists.kamailio.org</span><br><span>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span><br></div></blockquote></div></body></html>