if (authOnLogout == false)
{
if (method.equals(Request.REGISTER) == true)
{
// get the expires header
ExpiresHeader expires = (ExpiresHeader) req
.getHeader(ExpiresHeader.NAME);
if ((expires != null) && (expires.getExpires() == 0))
{
FromHeader from = (FromHeader) req
.getHeader(FromHeader.NAME);
String name = ((SipURI) from.getAddress().getURI())
.getUser();