Hi Prakash
The Server sends a 420 when it doesn't support "timer"
option-tag. so its working fine when you remove it from your
request.
As per section 7.1 of RFC 4028, the UAC SHALL include a
Require header with option-tag as "time" in the initial INVITE when it wants the
server to support session timer - but this does not necessarily mean that UAC
wants the server to perform refresh - but only wants the server to support the
session timer.
but if
the UAC includes a Proxy-Require header with value as "timer", in the initial
INVITE then the server MUST support "session-timer" in order to process the
request.
But
again as per RFC Require and Proxy-Require headers are not recommended to be
used - but a UAC needs to include "Session-Expires" header field to indicate to
the server to apply Session Timer.
Regards
Ranjit