< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Record-Route header for proxies


Do people think that the RecordRoute header inserted by a proxy should be
handled exactly the same way as the Contact and Via headers - with the
TransportSelector filling in the appropriate value?

Furthermore, should the specific transport used be filled in on the
RecordRoute header?

e.g.

Record-Route: <sip:1.2.3.4:6000;transport=tcp>

The mechanism of doing this (as a proxy) would be to insert a partially
filled in RecordRoute header. e.g.

void
addRecordRoute(SipMessage& msg)
{
  NameAddr proxy;
  msg.header(h_RecordRoutes).push_front(proxy);
}

If the proxy wants to be more specific, it can fill in the details for the
NameAddr proxy - otherwise it is signaling to the stack to fill it in
appropriately.