This might be a basic problem I'm facing during integration of application over sailfin with a PSTN gateway. The initial INVITE is received from the gateway and processed internally then the 100 trying and 200 OK response is sent back to the gateway. But the gateway never responds back with ACK.
Initial investigation shows that the INVITE has been received from remote port xxxxx (any random UDP port) while inside INVITE Header, the via header contains port as 5060 and the contact header also contains 5060. As the via header has port information 5060, Sailfin always sends responses back to the port 5060 instead of port xxxxx on which the request has been received.
Is there any way in Sailfin to ignore the via header information and send back the response to the port on which it has received the request? Or do I need to manipulate the via header?