Hello list
I was able to setup HA cluster with two FS boxes, and if my primary crashed sofia recover is triggered on the second box. However i have noticed that second FS box sending the Re-Invite incorrectly.
My FS boxes setup is extremely simple, when i receive a call i forward it to the Opensips proxy, so i use bridge like this: (public dialplan)
<condition field="${sip_to_user}" expression="(123456789).*$" break="never">
<action inline="true" application="eval" data="URI=${sip_to_user}"/>
<action application="set" data="domain_name=$${domain}"/>
</condition>
So what FS does, its sends the INVITE to the opensips like this: (stripped)
Via: SIP/2.0/UDP 17.2.128.147;rport;branch=z9hG4bK5N320Bvar00ZN
Max-Forwards: 68
------stripped-----------
The call is answerred, and all is going fine, i crash this box and trigger box2 to reinvite the call, FS2 gets the same ip and send Re-Invite like this:
INVITE sip:17.2.128.75:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 17.2.128.75;branch=z9hG4bK62a7.6041d237.0;rport
Max-Forwards: 68
Notice the FROM and To field, we are sending the invite to a proxy, from this proxy, this has no sence, it should be:
Is there any way i can fix this with some kind of param ?
Greg