Sofia recover and wrong Sip fields when sending re-invite
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}"/> <action application="bridge" data="{absolute_codec_string=PCMA}sofia/internal/987654333@17.2.128.75"/> </condition> So what FS does, its sends the INVITE to the opensips like this: (stripped) INVITE sip:987654333@17.2.128.75 SIP/2.0 Via: SIP/2.0/UDP 17.2.128.147;rport;branch=z9hG4bK5N320Bvar00ZN Max-Forwards: 68 From: "Grigoriy Dobrovolskyy" <sip:33811740@17.2.128.147>;tag=3jNgatZH4D92Q To: <sip:987654333@17.2.128.75> ------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 From: <sip:987654333@17.2.128.75>;tag=B2B.511.202 To: Grigoriy Dobrovolskyy <sip:33811740@17.2.128.147>;tag=3jNgatZH4D92Q Notice the FROM and To field, we are sending the invite to a proxy, from this proxy, this has no sence, it should be: From: Grigoriy Dobrovolskyy <sip:33811740@17.2.128.147>;tag=3jNgatZH4D92Q To: <sip:987654333@17.2.128.75>;tag=B2B.511.202 Is there any way i can fix this with some kind of param ? Greg
participants (1)
-
Grygoriy Dobrovolskyy