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