<div style="font-family: arial; font-size: 14px;"><span style="font-family: monospace; color: rgb(0, 0, 0);">Hello everyone,</span></div><p style="font-size: 14px; line-height: normal; margin: 1em 0px; color: rgb(0, 0, 0); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="font" style="line-height: normal; font-family: monospace;">I have a problem with UAC sending RPID in 200 OK response which is then copied by Freeswitch to A-leg. All methods I've tried so far allowed for removal or modification of RPID header in outgoing INVITE on B-leg, but when B-leg sends 200 OK response, it contains RPID header which is copied and passed down to A-leg, messing up with caller id displayed on the phone. Is there a way to stop this behaviour? Below is a diagram of an example call.</span><br></p><p style="font-size: 14px; line-height: normal; margin: 1em 0px; color: rgb(0, 0, 0); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="font" style="line-height: normal; font-family: monospace;">UAC A                                FS<span class="font" style="line-height: normal; font-family: monospace;">                               <span> </span></span>UAC B<br style="line-height: normal;">|            INVITE                  |                                 |<br style="line-height: normal;">|         contains RPID              |                                 |<br style="line-height: normal;">|----------------------------------->|            INVITE               |<br style="line-height: normal;">|                                    |       no RPID (correct)         |<br style="line-height: normal;">|                                    | ------------------------------->|<br style="line-height: normal;">|                                    |                                 |<br style="line-height: normal;">|                                    |            200 OK               |<br style="line-height: normal;">|                                    |         contains RPID           |<br style="line-height: normal;">|              200 OK                |<--------------------------------|<br style="line-height: normal;">|  contains RPID, copied from B-leg  |                                 |<br style="line-height: normal;">|      I want this RPID removed      |                                 |<br style="line-height: normal;">|<-----------------------------------|                                 |</span></p><div style="line-height: normal; color: rgb(0, 0, 0); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="font" style="line-height: normal; font-family: monospace;">Cheers,<br style="line-height: normal;">Marcin</span></div>