rr readme on record_route_advertised_address function tells:
Note: A second Record-Route will be inserted if the transport used on
the inbound and outbound interfaces changes.
that is not the case. i made call
record_route_advertised_address("192.98.103.10:5060");
when request came over udp and went out over tcp and only one rr header
was inserted:
incoming:
U 2012/09/17 17:30:17.467079 192.98.103.10:5060 -> 192.98.103.2:5070
INVITE sip:test@test.fi SIP/2.0.
...
outgoing:
T 2012/09/17 17:30:17.504631 192.98.103.10:5060 -> 192.98.103.10:38078 [AP]
INVITE sip:0x20b7580@192.98.103.10:5050;transport=tcp SIP/2.0.
Record-Route: <sip:192.98.103.10:5060;ftag=wumod;lr>.
...
i have not set enable_double_rr param and default is 1.
is this a bug that i should report on the tracker?
-- juha