[Serusers] SER2.0 xml body size in NOTIFY
Martin Hoffmann
hn at nvnc.de
Fri Mar 28 18:19:49 CET 2008
pravin.swami at wipro.com wrote:
>
> Is there a way to configure SER server to restrict the size of XML body
> it sends in the NOTIFY request?
You could generate an error message, if the message is above a certain
size. ser-oob.cfg has this:
if (msg:len >= 4096 ) {
sl_reply("513", "Message too big");
drop;
}
Of course, this merely means that the presence document will never be
delivered.
I don't know, how deep you are in the software involved. There is a way
to only provide a URI in the body indicating where the UA should get the
actual document. I'm not to certain on the details, but you may want to
have a look at RFC 4483.
Regards,
Martin
More information about the sr-users
mailing list