SIP Unregister: tag value

sip

Does the SIP un-register tag value (in the From: field) should match the register tag value?
i.e. if:

REGISTER sip:registrar.biloxi.com SIP/2.0
Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
Max-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Bob <sip:bob@biloxi.com>;tag=456248

Does the un-register MUST use the same tag=456248?

Best Answer

The question you need to ask is, does the REGISTER packet require that tag value?

If it does, the answer is Yes, because an UNREGISTER is just a REGISTER with an Expires Header set to 0 (or some other really small number).