[OpenSIPS-Users] Need some clarification if I have gateways with tls socket then how does the failover will work
Sasmita Panda
spanda at 3clogic.com
Mon Nov 24 12:55:19 UTC 2025
Hi All ,
I have opensips running on instance '10.78.1.1' . I have configured tls on
the config .
Below is my dr_gatewas and dr_carriers table .
dr_gateways :
| 4 | gw2 | 3 | 1.1.1.1:5065 | 0 | NULL
| NULL | 0 | 0 | tls:10.78.1.1:5061 | NULL |
| 6 | gw3 | 3 | 2.2.2.2:5067 | 0 | NULL
| NULL | 0 | 0 | tls:10.78.1.1:5061 | NULL |
dr_carriers;
+----+-----------+--------+-------+----------+-------+-------+-------------+
| id | carrierid | gwlist | flags | sort_alg | state | attrs | description |
+----+-----------+--------+-------+----------+-------+-------+-------------+
| 1 | cr1 | gw2 | 3 | N | 0 | NULL | sycurio1 |
| 3 | cr2 | gw3 | 3 | N | 0 | NULL | sycurio2 |
dr_rules;
+--------+---------+--------+---------+----------+---------+---------------------+----------+--------------+-------+-------------+
| ruleid | groupid | prefix | timerec | priority | routeid | gwlist
| sort_alg | sort_profile | attrs | description |
+--------+---------+--------+---------+----------+---------+---------------------+----------+--------------+-------+-------------+
| 6 | 1 | | | 0 | NULL | #cr1,#cr2
| N | NULL | | sbb out |
With this configuration , when I will place an outbound call . First
call will try on gw2 . As I have tls configuration and opensips here is a
TLS client and somehow the TLS connection won't get established with gw2
then it can't send out the request to gw2 also .
In this case will it try to do a failover for the same call to gw3 and
try to establish connection with gw3 and send the request ?
If this happens then in my case it's not working . Opensips sending
477 Send failed back without doing a failover here . Please suggest if
anything I need to change on my end for this behaviour to work as for our
expectations .
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20251124/594c315f/attachment.html>
More information about the Users
mailing list