[OpenSIPS-Users] Issue with proxy failover and uac_auth()
nz deals
nzdealshelp at gmail.com
Thu May 29 07:29:20 UTC 2025
Hi All,
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
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).
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.
Is there any way to fix this or work around it? Has anyone faced a similar
problem when using uac_auth() in combination with failover and the same
proxy domain?
Any advice or suggestions would be greatly appreciated.
Thank you
Regards,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250529/7b1cd3bd/attachment.html>
More information about the Users
mailing list