Skip to main content

What could trigger 513 error in mobicents?

3 replies [Last post]
alexrug
Offline
Joined: 2009-08-27
Points: 0

Hi,

I have a scenario where I try to establish 3pcc between user A and user B. The flow is as follows:
INVITE A (no media)
A answers
INVITE B
B anwers
RE-INVITE A (with media/sdp) --> now I get the following error:

11:07:23,284 INFO [SipResourceAdaptor] Received Response:
SIP/2.0 513 Message Too Large

Any idea on what/where could be the problem?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
deruelle_jean
Offline
Joined: 2003-06-24
Points: 0

This is a property of the JAIN SIP Stack.
If the message is too big it is rejected to prevent flooding attacks.
You can set the following property to circumvent this gov.nist.javax.sip.MAX_MESSAGE_SIZE
The default value is 4096
If you set it to 0 it means unlimited size of message.

Best regards
Jean

alexrug
Offline
Joined: 2009-08-27
Points: 0

Hi,

Thanks for the tip. The size of the Ethernet frame is 883 bytes. Size of SIP content is 434.
I doubt that this is the problem. Anyway, just to try it out, I set gov.nist.javax.sip.MAX_MESSAGE_SIZE to 0, then to 4096, but unfortunately that didn't solve it :(

Regards,
Alex

deruelle_jean
Offline
Joined: 2003-06-24
Points: 0

Could you send the log files to our mobicents-public google group so that we can better investigate ?

Thanks in advance
Best regards
Jean