Guest User!

You are not Sophos Staff.

[7.470][BUG][FIXED] VoIP: Can't get incoming calls working

From what i see here, VoIP is still a difficult thread.
In my case it looks like this:
- Incoming calls: Are signalled and can be accepted. 
- Incoming calls: Internal phone is hearing no voice, external phone is hearing what internal talks.
- Incoming calls: Are automatically cancelled after exact 31 seconds
- Outgoing calls seem to work fine.

I could not get it working by ONLY using the SIP helper.
So i created several services, NAT-rules and PacketFilter rules to get at least to that point.
But as mentioned several times here, it HAS TO run with the SIP helper, it was told NAT and PF-rules could irritate the helper.

This is my setup:
DSL-Modem === Astaro (10.x.x.1) === VoIP-Box (Fritz!box7270) (10.x.x.3)

- VoIP provider is '1und1'.
- SIP-Servers (DNS group): sip.1und1.de, sip1.1und1.de, sip2.1und1.de, sipbalance0.1und1.de

- SIP (predefined): TCP/UDP 1:65535 -> 5060
- SIP-Service1: UDP 1024:65535 -> 5070:5079
- SIP-Service2: UDP 7078:7079 -> 1024:65535

- DNAT1: From(SIP-Servers) - Service(SIP) - Destination(ExternalWAN) --> Dest.translation(VoIP-Box)
- DNAT2: From(SIP-Servers) - Service(SIP-Service1) - Destination(ExternalWAN) --> Dest.translation(VoIP-Box)
- DNAT3: From(SIP-Servers) - Service(SIP-Service2) - Destination(ExternalWAN) --> Dest.translation(VoIP-Box)

- PacketFilter#12: Source(VoIP-Box) - Service(AllSIP-Services) - Destination(Any)
- PacketFilter#13: Source(SIP-Servers) - Service(AllSIP-Services) - Destination(VoIP-Box)

Log from outgoing call:

21:29:54 SIP call UDP 87.234.1.240 : 21448 ? 10.x.x.3 : 7078 len=160 ttl=115 tos=0x00
21:29:54 SIP call ICMP 10.x.x.3 ? 87.234.1.240 len=188 ttl=63 tos=0x00
21:29:55 SIP call UDP 87.234.1.240 : 21448 ? 10.x.x.3 : 7078 len=160 ttl=115 tos=0x00
21:29:57 SIP call UDP 10.x.x.3 : 7079 ? 87.234.1.240 : 21449 len=148 ttl=63 tos=0x00
21:31:42 SIP call ICMP 10.x.x.3 ? 87.234.1.240 len=188 ttl=63 tos=0x00
21:31:42 SIP call ICMP 10.x.x.3 ? 87.234.1.240 len=188 ttl=63 tos=0x00
21:31:42 SIP call ICMP 10.x.x.3 ? 87.234.1.240 len=188 ttl=63 tos=0x00


Log from incoming call:

21:40:50 Packetfilter rule #12 UDP 10.x.x.3 : 7078 ? 87.234.12.182 : 16578 len=160 ttl=63 tos=0x00
21:40:52 Packetfilter rule #12 UDP 10.x.x.3 : 7079 ? 87.234.12.182 : 16579 len=124 ttl=63 tos=0x00


What's really courious, the SIP helper seems not to recognize incoming calls.
But the used PacketFilter rule #12 is for outbound.
So it seems there are some logs missing .... [:S]

Any idea ?
Karsten