Asterisk + pfsense, Some calls dropped after 30 sec
-
Hi all,
I have a NAT Issue for my Asterisk behind my pfsense, i have checked all old related posts, but none helped me.
!!!
I have 4 SIP provider and without pfsense just with NAT in router config everything works fine.
!!!
and below my config:
my subnet (172.16.10.0/24) use Pfsense WAN address for internet 196.X.X.11my asterisk (192.168.1.200) is natted through pfsense with VIP 196.X.X.10
1:1 NAT 196.X.X.10 – 192.168.1.200
Manual Outbound: 192.168.1.200 --- to any -- 196.X.X.10 with dynamic port.Rules:
on WAN Interface rules no restriction to 192.168.1.200
on Server Interface rules no restriction for 192.168.1.200with firewall optimization set to Normal: I get the issue of one way audio
with firewall optimization set to Conservative: some call work fine and some dropped after 30 secNeed your Help Please.
-
Issue solved
Problem related to SIP ALG in the router which must be disabled.
in my case i have a cisco router, so I entred:
#no ip nat service sip tcp port 5060
#no ip nat service sip udp port 5060
and everything started working as expected.