Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Asterisk + pfsense, Some calls dropped after 30 sec

    Scheduled Pinned Locked Moved NAT
    2 Posts 1 Posters 517 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ramous
      last edited by

      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.11

      my 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.200

      with 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 sec

      Need your Help Please.

      1 Reply Last reply Reply Quote 0
      • R
        ramous
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.