Hello,

not answering your question, but I would stick to the three mentioned records 
and just do A-record lookup with dispatcher failover.

Cheers,

Henning

-----Original Message-----
From: Jon Bonilla (Manwe) <[email protected]> 
Sent: Donnerstag, 23. Februar 2023 12:10
To: [email protected]
Subject: [SR-Users] Dispatcher failover when SRV failover is on?

Hi

Again, fighting with MS Teams but this time it's a kamailio question.

I have MSteams hosts in the dispatcher for OPTIONS and for destination.
Acording to MS you need to try sip.pstnhub.foo then sip2.pstnhub.foo and 
sip3.pstnhub.foo

2 | sip:sip.pstnhub.microsoft.com;transport=tls | 0 | 1
2 | sip:sip2.pstnhub.microsoft.com;transport=tls | 0 | 2
2 | sip:sip3.pstnhub.microsoft.com;transport=tls | 0 | 3

I was going to implement dispatcher failover as usual ds_select_domain (alg 8) 
with failure routes but checking the SRV of the first domain I see it already 
includes 4 hosts:

host -t srv _sips._tcp.sip.pstnhub.microsoft.com
_sips._tcp.sip.pstnhub.microsoft.com has SRV record 10 0 5061 
sip.pstnhub.microsoft.com. 

_sips._tcp.sip.pstnhub.microsoft.com has SRV record 20 0 5061 
sip2.pstnhub.microsoft.com. 

_sips._tcp.sip.pstnhub.microsoft.com has SRV record 30 0 5061 
sip3.pstnhub.microsoft.com.

_sips._tcp.sip.pstnhub.microsoft.com has SRV record 40 0 5061 
sip4.pstnhub.microsoft.com.

So... If I have dns srv failover enabled in kamailio... what would be the point 
of the dispatcher failover? In case I only want failover in case 408 or 5XX 
wouldn't the tm module do it for me?


cheers,

Jon



--
PekePBX, the multitenant PBX solution
https://pekepbx.com
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to