[SR-Users] Determining size of INVITE

Daniel Tryba daniel at pocos.nl
Mon Feb 10 18:44:40 CET 2014


On Monday 10 February 2014 11:25:11 Daniel Tryba wrote:
> > - http://www.kamailio.org/wiki/cookbooks/4.1.x/core#udp_mtu
> 
> This (and udp_mtu_try_proto) does exactly what I need to do for this
> specific  upstream provider. I'll see if I can get this to do the job.
> Thanks.

Might be to risky in my setup, since I only need this for a specific 
dispatcher, I chose the folowing:
- in the dispatcher (if the id matches) I set an AVP
- at the end of route[RELAY] (just before t_relay()) if the AVP is set:
 * msg_apply_changes to commit changes. 
 * if $ml>1299 use t_relay_to_tcp instead of t_relay.

This leaves me the option to set the AVP for any other destination that might 
need it in the future without any other changes.

-- 

POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/   - http://www.sipo.nl/
K.v.K. Eindhoven 17097024



More information about the sr-users mailing list