Prevent Freeswitch from copying RPID in 200 OK response to A-leg

Marcin Leśniewski marcin.lesniewski at protonmail.com
Tue Feb 15 15:12:31 UTC 2022


Hello everyone,

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.

UAC A FS UAC B
| INVITE | |
| contains RPID | |
|----------------------------------->| INVITE |
| | no RPID (correct) |
| | ------------------------------->|
| | |
| | 200 OK |
| | contains RPID |
| 200 OK |<--------------------------------|
| contains RPID, copied from B-leg | |
| I want this RPID removed | |
|<-----------------------------------| |

Cheers,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220215/c41071c0/attachment.html>


More information about the FreeSWITCH-users mailing list