HI, everybody,
i saw the example in rfc2543 that when callee sends BYE to terminate
the call, it uses via header. does it copy the header form previous
request received or response sent? MUST it add the via header in?
because the rfc said the BYE unlikely traverse the same proxies as the
original INVITE, why it still uses the via header? by the way, if a
callee response a request, MUST it get the back route from the request
via header if exists? it looks that via header's priority is higher than
Contact header when the user agent is trying to get the route set,
isn't?
any information is deeply appreciated.
thanks.
lei
here is the example of BYE in rfc2543:
C->S: BYE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP kton.bell-tel.com
From: A. Bell <sip:[EMAIL PROTECTED]>
To: T. A. Watson <sip:[EMAIL PROTECTED]> ;tag=37462311
Call-ID: [EMAIL PROTECTED]
CSeq: 2 BYE
begin:vcard
n:liang;lei
tel;cell:07787 520163
tel;work:01483 873610,EXT 3610
x-mozilla-html:TRUE
org:CCSR;E.E.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Mr
x-mozilla-cpt:;29504
fn:lei liang
end:vcard