- Joined
- Dec 18, 2019
- Messages
- 3
- Reaction score
- 0
Having an interesting issue in testing a 3CX config for some of our clients, SIP trunk failover isn't working when a switch doesn't respond. The sip trunk appears to be doing a lookup for NAPTR records and receiving correct one but then does not do a followup lookup for the SRV records.
Based on:
https://www.3cx.com/docs/sip-trunk-failover/
Example NAPTR lookup for lighthousesol.com.nms0.amplex.net
Answer
SRV lookup for: _sip._udp.nms0.amplex.net
Answer
Yet results are just chain registration attempts to nms0.amplex.net, never any attempts to nms1, nor do I see in tcpdumps any SRV lookups being done. Just an A query.
Trunk Config Registra/Server/Gateway as lighthousesol.com.nms0.amplex.net it's a registered SIP trunk. If I unblock from nms0.amplex.net the testing IP the trunk registers/processes fine, it just seems to be failing due to not following any NAPTR or SRV records. I've got "Auto Discovery" checked on registrar/server/gateway.
3CX Debian 16.0.3.676 is my testing platform.
Anyone have any advice? Very odd behavior from other systems I've seen.
Tim
Based on:
https://www.3cx.com/docs/sip-trunk-failover/
Example NAPTR lookup for lighthousesol.com.nms0.amplex.net
Answer
| Type | Order | Preference | Flags | Services | Regexp | Replacement | Name | Class | TTL |
|---|---|---|---|---|---|---|---|---|---|
| NAPTR | 10 | 10 | s | SIP_D2U | _sip._udp.nms0.amplex.net | lighthousesol.com.nms0.amplex.net | IN | 1199 |
SRV lookup for: _sip._udp.nms0.amplex.net
Answer
| Type | Priority | Weight | Port | Target | Name | Class | TTL |
|---|---|---|---|---|---|---|---|
| SRV | 20 | 10 | 5060 | nms1.amplex.net | _sip._udp.nms0.amplex.net | IN | 947 |
| SRV | 10 | 10 | 5060 | nms0.amplex.net | _sip._udp.nms0.amplex.net | IN | 947 |
Yet results are just chain registration attempts to nms0.amplex.net, never any attempts to nms1, nor do I see in tcpdumps any SRV lookups being done. Just an A query.
Trunk Config Registra/Server/Gateway as lighthousesol.com.nms0.amplex.net it's a registered SIP trunk. If I unblock from nms0.amplex.net the testing IP the trunk registers/processes fine, it just seems to be failing due to not following any NAPTR or SRV records. I've got "Auto Discovery" checked on registrar/server/gateway.
3CX Debian 16.0.3.676 is my testing platform.
Anyone have any advice? Very odd behavior from other systems I've seen.
Tim