pravin.swami(a)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