[SR-Users] Wrong Via and RR header added in UDP2TCP scenario

Alex Balashov abalashov at evaristesys.com
Tue May 13 16:39:20 CEST 2014


Hello Sebastian,

On 05/13/2014 10:36 AM, Sebastian Damm wrote:

> Is there some way, I can influence, which IP and port Kamailio writes
> into those headers? Or is this a bug, that Kamailio doesn't check the
> sending socket correctly?

Have a look at replacing your record_route() call with 
record_route_preset():

    http://kamailio.org/docs/modules/4.1.x/modules/rr.html#idp114624

As for the advertised address more generally, i.e. in Via, have a look 
at this core parameter:

    http://www.kamailio.org/wiki/cookbooks/4.1.x/core#advertised_address

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list