[Users] UDP Fragmentation (again)

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 27 18:02:18 CET 2006


Hi Helge,

if you have problems on client side with UDP fragmentation, there are 
two ways to go:
    1) try to reduce the size of the message; CISCO sends a lot of 
useless stuff in the requests; first option will be get rid of useless 
headers; second to use short format for hdrs with long names (can be 
done from script); third to merge headers of same type (VIA, contact, 
route) to get rid of extra hdr names (cannot be done from script).
    2) switch on TCP, but more complex problem can pop up - maintaining 
TCP connection to UAC from behind NAT, extra load does TCP conns 
manipulation, more size in packages due double RR (due protocol switch), 
etc...

maybe a "compacting function" will be useful to have - it will do 1) 
second and third option:
    if(msg_len>UDP_frag)
       compact_msg();

regards,
bodgan

Helge Waastad wrote:

>Hi,
>I've just had my first fragmentation problem.
>Since I'm using rr on my dispatchers and my proxies, INVITES from a
>gateway (i.e cisco) gets too large and are being fragmented...and of
>course not very good for nat'ed udp clients.
>
>Are there any other options than to remove_hf of less important headers
>like Remote-Party-ID and/or User-Agent?
>
>I guess TCP would be an option....
>
>br hw
>
>  
>





More information about the Users mailing list