<div>Hello list</div>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.<div>
<br></div><div>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)</div><div><br></div><div><div> <condition field="${sip_to_user}" expression="(123456789).*$" break="never"></div>
<div> <action inline="true" application="eval" data="URI=${sip_to_user}"/></div><div> <action application="set" data="domain_name=$${domain}"/></div>
<div> <action application="bridge" data="{absolute_codec_string=PCMA}sofia/internal/<a href="mailto:987654333@17.2.128.75">987654333@17.2.128.75</a>"/></div><div> </condition></div>
</div><div><br></div><div><br></div><div>So what FS does, its sends the INVITE to the opensips like this: (stripped)</div><div><br></div><div>INVITE <a href="mailto:sip%3A987654333@17.2.128.75">sip:987654333@17.2.128.75</a> SIP/2.0</div>
<div>Via: SIP/2.0/UDP 17.2.128.147;rport;branch=z9hG4bK5N320Bvar00ZN</div><div>Max-Forwards: 68</div><div><font color="#3333ff">From: "Grigoriy Dobrovolskyy" <<a href="mailto:sip%3A33811740@17.2.128.147">sip:33811740@17.2.128.147</a>>;tag=3jNgatZH4D92Q</font></div>
<div><font color="#3333ff">To: <<a href="mailto:sip%3A987654333@17.2.128.75">sip:987654333@17.2.128.75</a>></font></div><div>------stripped-----------</div><div><br></div><div><br></div><div>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:</div>
<div><br></div><div><br></div><div>INVITE sip:17.2.128.75:5060;transport=udp SIP/2.0</div><div>Via: SIP/2.0/UDP 17.2.128.75;branch=z9hG4bK62a7.6041d237.0;rport</div><div>Max-Forwards: 68</div><div><font color="#3333ff">From: <<a href="mailto:sip%3A987654333@17.2.128.75">sip:987654333@17.2.128.75</a>>;tag=B2B.511.202</font></div>
<div><font color="#3333ff">To: Grigoriy Dobrovolskyy <<a href="mailto:sip%3A33811740@17.2.128.147">sip:33811740@17.2.128.147</a>>;tag=3jNgatZH4D92Q</font></div><div><br></div><div><br></div><div>Notice the FROM and To field, we are sending the invite to a proxy, from this proxy, this has no sence, it should be:</div>
<div><br></div><div><div><font color="#3333ff">From: </font><span style="color:rgb(51,51,255)">Grigoriy Dobrovolskyy <<a href="mailto:sip%3A33811740@17.2.128.147">sip:33811740@17.2.128.147</a>>;tag=3jNgatZH4D92Q</span></div>
<div><font color="#3333ff">To: </font><span style="color:rgb(51,51,255)"><<a href="mailto:sip%3A987654333@17.2.128.75">sip:987654333@17.2.128.75</a>>;tag=B2B.511.202</span></div></div><div><span style="color:rgb(51,51,255)"><br>
</span></div><div>Is there any way i can fix this with some kind of param ?</div><div><br></div><div>Greg</div>