< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Using hostname in RR/Via causing send to fail


Andrew Wood wrote:
Thanks Adam that makes a bit more sense now.

What I wanted to do is use the hostname rather than an IP in case a particular server failed, that way stuff could still be sent to the backup proxy.

Unfortunately, Vias don't work that way in SIP. In practice, the value you put in the Via header field is noise. Your response is coming back to the same IP address you sent the request from, regardless of whether that's what you want to happen.

The only way you could do what you want to do would be to implement some layer-3 tricks that would cause another server to take over the IP address of a failed server (and there are many ways you can make this happen). However, this behavior is due to a is a limitation in the SIP protocol itself, and not the resiprocate stack.

/a