ya you are right I misinterpreted the question and answered in hurry. but Via is added by UAC, isn't it?
On 3/26/08, Iñaki Baz Castillo <[EMAIL PROTECTED]> wrote: > > El Wednesday 26 March 2008 12:21:25 Nitin Arora escribió: > > When you receive a request you add a Via > > and your Via becomes top most Via in that case. > > so you have to add "received" in that particular "Via" header. > > Hi Nitin, that's not true. A UAS doesn't add a Via when it receives a > request. > Maybe a proxy could do that but not a UAS that only needs to reply that > request: > > 18.2.1 Receiving Requests > > When the server transport receives a request over any transport, it > MUST examine the value of the "sent-by" parameter in the top Via > header field value. If the host portion of the "sent-by" parameter > contains a domain name, or if it contains an IP address that differs > from the packet source address, the server MUST add a "received" > parameter to that Via header field value. This parameter MUST > contain the source address from which the packet was received. > > Regards. > > -- > Iñaki Baz Castillo > [EMAIL PROTECTED] > > _______________________________________________ > Sip-implementors mailing list > [email protected] > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
