I have a peculiar scenario, maybe you guys have an easy solution:
1. a call comes in through an SBC (which is also kamailio)
2. SBC passes call to core kamailio server
3. call reaches 180 ringing state
4. client suddenly changes from wifi to 4G (using 4G IP, VIA headers are all updated)
5. client sends cancel and receives cancelling msg from SBC
6. SBC sends cancel to kamailio core
7. kamailio core sends back Request Terminated after termination
the issue is, this message was sent to the wifi IP not the 4G
when checking the network dumps, looks like this was because the INVITE was received
on kamailio core from the old wifi IP. Is there maybe a way to update the transaction perhaps?