Hi,
I am facing a problem with growing size of XML body in NOTIFY request that carries presence information.
The situation I have is:
1. PUA1 & PUA2 are two presence user agents subscribed to SER (2.0) presence server.
2. PUA2 comes online. PUA1 gets a NOTIFY.
3. PUA2 goes down & comes online again. PUA2 gets a NOTIFY with bigger XML body than step 2.
4. Step 3 is repeated many times. The NOTIFY that reaches PUA2 keeps on growing in size.
Is there a way to configure SER server to restrict the size of XML body it sends in the NOTIFY request?
Please help us come out of this problem.
Regards,
-Pravin
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
pravin.swami@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
Hi, it seems to me that your PUA doesn't 'unpublish' its presence document when it goes down.
SER has to put all known information about presentity into NOTIFY - it can't decide itself to send some data and some not.
Vaclav
On Pá, bře 28, 2008 at 09:36:42 +0530, pravin.swami@wipro.com wrote:
Hi,
I am facing a problem with growing size of XML body in NOTIFY
request that carries presence information.
The situation I have is:
- PUA1 & PUA2 are two presence user agents subscribed to SER (2.0)
presence server.
PUA2 comes online. PUA1 gets a NOTIFY.
PUA2 goes down & comes online again. PUA2 gets a NOTIFY with bigger
XML body than step 2.
- Step 3 is repeated many times. The NOTIFY that reaches PUA2 keeps on
growing in size.
Is there a way to configure SER server to restrict the size of XML body it sends in the NOTIFY request?
Please help us come out of this problem.
Regards,
-Pravin
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers