Hi sr-users,

In the case of dispatcher-based HA such as the Wazo example (https://wazo-platform.org/blog/kamailio-ha-dispatcher-and-dmq)
won't the Route: headers be wrong for in-dialog requests if the request is sent to the backup proxy?

front proxy -> proxy A, B, C, D,... -> network

Suppose the INVITE goes through proxy A, then proxy A goes down.
Based on the HA logic, an in-dialog request will go to a backup, say, proxy B.
However, won't the Route headers be wrong (since they are placed by A) in the original transaction?

How do you handle Route:, Record-Route: headers at the HA tier?

1. In the front proxy & HA tier don't use route headers at all ??
2. Manually check and remove route headers (i.e proxy B treats route headers for proxy A as "myself") ??

I am curious as to what is your practice.

Regards
Shih-Ping