The safest way is to switch to tcp if the OS cannot do defrag of UDP packets.

Kamailio cannot do much otherwise, however, if you want to play with removing unecessary headers, look at keep_hf() function from textopsx module.

Cheers,
Daniel

On 17/12/14 23:14, Marc Soda wrote:
I'm having a problem reassembling UDP packets on my Asterisk servers after passing through Kamailio (it appears to me an OS level issue, nothing to do with Kamailio).  Is there a way, with Kamailio, to limit the size of a SIP message?  I know I can just start removing headers, but that doesn't seem like a realistic solution.  I see that Kamailio can compress the message body, but can Asterisk handle that?  How do other people handle this?

Thanks in advance,
Marc


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda