Hello, I’m using an RB4011iGS+ which shows some strange behavior for incoming SIP calls. Probably it’s a misconfiguration on my end but I cannot find it.
Problem: Some incoming SIP calls are always blocked but only when calling an number of VoIP-Provider D. According to a specialist of provider D the SIP INVITE is blocked at my end. No firewall rules are in place that are based on Layer 7 analyses or affect the VoIP devices. However, adding a forward “accept all” incoming rule and outgoing rule, respectively, for the VoIP devices at the beginning of the rules list did not help. Replacing the RB4011 with a simple layer 2 switch solves the problem.
Setup
Modem-Router (DHCP Server 192.168.1.1) --> RB4011 v6.47.1 (Port1, DHCP Client 192.168.1.2)
route 192.168.88.0/24 Ports 2-10 (bridge1) -> VoIP device 1 (Yealink), VoIP device 2, some computer ...
Details: I’m using three different VoIP Provider (S, P, and D). All accounts are registered in my Yealink T48S (and other devices). Outgoing calls always work. If mobile phone 1 (provider M1) tries to call my number D1 (VoIP provider D), it does not ring on my Yealink, nothing happens and after two minutes or the the mobile phone stops trying. If mobile phone 2 (provider M2) calls the same number D1, it does ring and the call can be established.
Surprisingly, if mobile phone 1 (provider M1) tries to call my number S1 (VoIP provider S) or number P1 (VoIP provider P), the Yealink is ringing and calls can be established. I’m no SIP expert but I assume that provider M1 always sends the same SIP INVITE format no matter what provider is called. If Rb4011 is blocking the provider M1 it should be doing it even if the content of the SIP invite differs (same target device IP but different provider account).
Why I think the RB4011 causes the problem? Tests indicate that the problem is independent of specific device that register the VoIP accounts. Additionally, when I replace the RB4011 with a layer 2 switch all calls are coming through as expected. Although I’ve no firewall rule in place that blocks or redirects SIP traffic and I’m not using Layer7 parsing at all, I cannot rule out a misconfiguration.
Maybe someone did already come across such a behavior and can give me a hint. I’m not sure what config information might be necessary to understand my configuration and problem, respectively. Therefore, I provided an excerpt that I thought might be applicable, see below. If it’s insufficient, please indicate what is needed.
Thanks for your help.
config excerpt
SIP helper is currently deactivated, problem exists if activated no matter if direct-media is checked or not:
/ip firewall service-port print
Flags: X - disabled, I - invalid
# NAME PORTS
4 XI sip 5060 5061
/ip dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp1 bridge1 pool88 30m
/ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.1/24 192.168.88.0 bridge1