[OpenSIPS-Devel] Negative "Expires" value in 200 OK (PUBLISH) ?
anca at opensips.org
Mon Jan 5 15:29:28 CET 2009
I think this bug was very old, but not noticed. I have fixed it now.
Iñaki Baz Castillo wrote:
> Hi, OpenSIPS presence server module has replied a 200 OK (PUBLISH)
> with a negative value in "Expires" header:
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP XX.XX.XX.XX;branch=z9hG4bKdafhtcdc
> To: "I..aki" <sip:ibc at domain.net>;tag=82e3ea5b815f0cc11faf92e99ce98e54.4fb0
> From: "I..aki" <sip:ibc at domain.net>;tag=ajkhl
> Call-ID: ovudycqnxvdhjt
> CSeq: 457 PUBLISH
> Expires: -10
> SIP-ETag: a.1230848745.1924.57.0
> Server: OpenSIPS (1.5.0dev2-tls (x86_64/linux))
> Content-Length: 0
> I've searched about the BNF grammar of Expires header and it doesn't
> allow a negative value. How is it possible OpenSIPS setting "-10"?
More information about the Devel