I have an Asterisk server installed in two servers, with Heartbeat providing high availability. This way, when a machine goes down, the other one starts working. There is a virtual IP address, which maps automatically to the active server.
When I try to register using the normal physical address of one of those servers, everything works fine. My client sends the requests to the port 5060 and Asterisk answers in that port too (nat is enabled).
However, the problems start when using the virtual address instead of the physical one. In that case, Asterisk sends its responses to the client via the port 1025, instead of 5060. Does anyone know why?