[OpenSIPS-Devel] Negative "Expires" value in 200 OK (PUBLISH) ?

Iñaki Baz Castillo ibc at aliax.net
Fri Jan 2 23:11:09 CET 2009

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
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"?

Iñaki Baz Castillo
<ibc at aliax.net>

More information about the Devel mailing list