Re: SUBSCRIBE problem

niepin <[email protected]> Wed, 17 Jan 2007 14:33:25 +0000 (UTC)
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi,
try to use this:
ExpiresHeader expires = MessageListener.headerFactory.createExpiresHeader(0);
request.setHeader(expires);

In the API, it clearly states the The expires value MUST be between zero and 
(2**31)-1. I guess 0 is an invalid value.

But code above is taken from Applet-Phone ua. There is no exception when I test
it.

BR

niepin