[Serusers] SIP MESSAGE method revisited.

Andres andres at telesip.net
Wed Aug 16 20:32:41 CEST 2006



sip wrote:

> There is a check for message size (which is the same as it's always 
> been):
>
> if (msg:len >=  2048 ) {
>        sl_send_reply("513", "Message too big");
>        break;
>     };
>
Why don't you capture the SIP packet with Ethereal an verify if it is 
indeed greater that 2048 bytes.  I really doubt it.  I suspect your 
packet is looping several times on the same SER and growing in size as 
more headers are added until it eventually reaches this huge size.

>
> Modifying this has no real effect on the return, and the MESSAGE being 
> sent shouldn't in any way have gone beyond that size.  That check's 
> always been there, though, and I know this has worked before... so I'm 
> wondering what might have changed, if anything... or if there's a 
> 'standard' way of handling SIP MESSAGE methods that I'm completely 
> missing.
>
> N.
> *
> *



-- 
Andres
Technical Support
http://www.telesip.net




More information about the sr-users mailing list