Sambhrama Mundkur wrote:
>
> Hi,
> I had a question about the Via header.
> When a UAS receives a request, is the response always sent back to the
> host mentioned in the Via header?
Yes; the topmost Via header. If there is a maddr parameter in the
topmost Via header, the response should be send there, otherwise, if
there is a received parameter, the response should go there, else do a
DNS query on the host specified in the Via and send the response there
(see RFC 2543, section 6.40 for more info).
> And if the port is not mentioned in the
> via header, to the default port of 5060 ( even though the request might
> have come though a proxy running on a different port?) .
Yes.
> And what if there is no via header?
Then the upstream UAC is *really* broken if it send a UAS a request
with-
out a Via header.
> Is From never considered while sending responses?
No.
Regards,
- vijay
--
Vijay K. Gurbani vkg@{lucent.com,research.bell-labs.com,acm.org}
Internet Software/IN Architecture Group
Lucent Technologies/Bell Labs Innovations 263 Shuman Blvd., Rm 1A-413
Naperville, Illinois 60566 Voice: +1 630 224 0216 Fax: +1 630 713
0184