<div dir="ltr"><div>
<p><font size="2" style="font-family:monospace">Hi All,</font></p><p><font size="2" style="font-family:monospace">I'm using OpenSIPS 3.4 and managing carrier trunks via the registrant table. In the table, I'm using a proxy value like sips:mysip.xx.x</font></p>
<p><font size="2" style="font-family:monospace">When the primary carrier A sbc SRV record becomes unreachable, OpenSIPS correctly times out INVITE and attempts to fail over to the secondary A record (via SRV).</font></p>
<p><font size="2" style="font-family:monospace">The secondary endpoint responds with a 401 Unauthorized and includes a WWW-Authenticate header. At this point, I assume that opensips should not try on the primary carrier A SRV record otherwise it will also timeout. but it is trying to send another INVITE with Authorization to the primary. this timeout because primary A SRV record is not responding. opensips sends another INVITE to secondary and this time its without Authorization. </font></p><p><font size="2" style="font-family:monospace">
Is there any way to fix this or work around it? Has anyone faced a similar problem when using <code>uac_auth()</code> in combination with failover and the same proxy domain?
<br></font></p><p><font size="2" style="font-family:monospace">
Any advice or suggestions would be greatly appreciated.
</font><span style="font-family:monospace"><br></span></p>
<span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div>
<div><span style="font-family:monospace">Thank you</span></div><div><span style="font-family:monospace"><br></span></div><div><div><span style="font-family:monospace">Regards,</span></div><div><span style="font-family:monospace">Jason</span></div></div>
<br></div></div>