Bruno Machado writes:
I think that is not possible to route the messages
through the same
IP. But I need it! All of my calls must to pass through this IP.
openser ----> proxy B ----> the main GW (isn't answering)
Using the failure route:
openser ----> proxy B ----> the secundary GW (is answering)
This 'proxy B' is important and I can't remove it at all.
then i suggest that you move load_gws()/next_gw() calls to proxy b.
if not possible, then after calling next_gw(), use t_relay(proxy b ip)
to relay the invite to proxy b.
-- juha