How to forward BYE to Contact header IP when INVITE message has Record-Route
I am testing a customer Genesys Cloud (BYOC Cloud) with an SBC.
My question is At the end of the call, the BYE message only goes to the top Record Route IP, not the Contact IP of the INVITE.
Is there any way to send it to the Contact IP and not the Record-Route IP?
- GC(52.79.67.164) --INVITE-> (x.x.x.x) SBC
INVITE sip:111111@x.x.x.x:5070;transport=udp SIP/2.0
Record-Route: <sip:52.79.67.164:5060;r2=on;transport=udp;ftag=+QAeB-M;lr>
Record-Route: <sip:10.62.44.233:5060;r2=on;ftag=+QAeB-M;lr>
To: <sip:20001@x.x.x.x>
From: <sip:000000000@52.79.67.164>;tag=+QAeB-M
Via: SIP/2.0/UDP 52.79.67.164:5060;branch=z9hG4bK6c82.cc03dee7.0