SVR Failover on Outbound Calls

Hey, I have srvlookup=true and am trying to get outbound redundancy via an SRV lookup.
I have created an SRV record that points to 2 SIP servers however it never sends an INVITE to the second server. Am I missing something ?

When dialing I am executing

dig +short SRV
10 25 5060
5 25 5060 (Server is offline for this test)

The chan_sip module does not support this.

With chan_pjsip is it possible?


Yes, the chan_pjsip module supports SRV and NAPTR including failover, and load balancing[1].

[1] Asterisk 14: Coming with improved PJSIP DNS Support! ⋆ Asterisk

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.