- Joined
- Mar 15, 2018
- Messages
- 34
- Reaction score
- 1
I have one 3CX site that started having outgoing call issues a few months in, I checked with our SIP provider and all of the outbound calls they can't make are not even showing on their end as an attempted call. They pick up the phone and just can't make an outbound call.
After checking routing, switching, phones and even replacing their modem I found something suspicious in the logs.
Over a 10 hour period they were getting 100+ authentication failures from a dozen different public IPs that weren't theirs. All of them traced back to DigitalOcean.
I figured that someone found out port 5060, etc. was open on the WAN and was trying to force a way to authenticate on their SIP and use it for calls.
I called the SIP provider back and they said although they can't say for sure, all of those failed auth attempts might be responsible for the outbound call issue. So I changed our WAN>LAN firewall rule on the 3CX ports to only be allowed from a white list.
This whitelist was basically our SIP providers IP range, the FQDN of the three 3CX STUN servers listed in Settings:Network:External IP Configuration as well as the IPs that those three STUNs resolved to with nslookup just because I've had some issues with FQDNs and firewall rules in the past.
However this made the phone system get much worse, now inbound calls would ring but as soon as someone in the office answered, the caller would get disconnected immediately. I tested and confirmed this by changing the rule from allowing the white list only and calling in (getting disconnected) then changing it to allow all and calling in successfully.
So now I'm up against a wall and not sure what to do next. I don't even know for sure the intermittent outbound issue is caused by the failed auth attempts, but if it is how do I block this as they keep changing the IP they are coming from? Is there something I'm missing on my whitelist? Some way to not have allow all on the WAN>LAN? Anything else I am missing?
System Details:
3CX Professional 16.0.525
Phones: Yealink SIP-T29G on Firmware 46.83.0.60
SIP Provider: XCast (I'm aware they are unsupported, but they worked for months on this site and are still working perfectly on 10 other sites I've setup, never seen this issue before).
After checking routing, switching, phones and even replacing their modem I found something suspicious in the logs.
Over a 10 hour period they were getting 100+ authentication failures from a dozen different public IPs that weren't theirs. All of them traced back to DigitalOcean.
Code:
Authentication failed for AuthFail Recv Req REGISTER from xxx.xxx.xxx.xxx
I figured that someone found out port 5060, etc. was open on the WAN and was trying to force a way to authenticate on their SIP and use it for calls.
I called the SIP provider back and they said although they can't say for sure, all of those failed auth attempts might be responsible for the outbound call issue. So I changed our WAN>LAN firewall rule on the 3CX ports to only be allowed from a white list.
This whitelist was basically our SIP providers IP range, the FQDN of the three 3CX STUN servers listed in Settings:Network:External IP Configuration as well as the IPs that those three STUNs resolved to with nslookup just because I've had some issues with FQDNs and firewall rules in the past.
However this made the phone system get much worse, now inbound calls would ring but as soon as someone in the office answered, the caller would get disconnected immediately. I tested and confirmed this by changing the rule from allowing the white list only and calling in (getting disconnected) then changing it to allow all and calling in successfully.
So now I'm up against a wall and not sure what to do next. I don't even know for sure the intermittent outbound issue is caused by the failed auth attempts, but if it is how do I block this as they keep changing the IP they are coming from? Is there something I'm missing on my whitelist? Some way to not have allow all on the WAN>LAN? Anything else I am missing?
System Details:
3CX Professional 16.0.525
Phones: Yealink SIP-T29G on Firmware 46.83.0.60
SIP Provider: XCast (I'm aware they are unsupported, but they worked for months on this site and are still working perfectly on 10 other sites I've setup, never seen this issue before).