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

    Asterisk RTP on different VLAN - RESOLVED

    Routing and Multi WAN
    2
    3
    1.5k
    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.
    • K
      krzykat
      last edited by

      I have a server with Asterisk 11 on it.

      The Asterisk is behind pfSense on VLAN1
      Phones on VLAN1 work fine
      I also have Phones on VLAN2 - these can accept calls with audio, but making calls, works until the answer and then neither side can hear each other and the RTP is not getting authorized.

      On Asterisk (FreePBX), in sip settings I have:
      External IP - the Public IP that Asterisk has a 1:1 setup in pfSense with
      Local Nets - VLAN1 and VLAN2

      On pfSense, on Vlan2 - a rule exists specifying Asterisk IP for VLAN1 for all ports.

      Registration works fine all the way across and I thought I was in the clear … until VLAN2 tried to call VLAN1 - SIP works - ring, etc. Answer, but RTP only the VLAN1 shows RTP authorized.

      Any GURU's out there with good pfSense and Asterisk skills? - I'm pulling out what little hair I have left.

      1 Reply Last reply Reply Quote 0
      • E
        eepstein
        last edited by

        I'm a pfsense newbie here, but I've been using Asterisk since 1.4.2.

        What do you mean by RTP not authorized? In other words, could you explain your diagnostics a little more please?

        Please post your sip.conf, extensions.conf, and rtp.conf. Also, are you familiar with the Asterisk CLI?

        1 Reply Last reply Reply Quote 0
        • K
          krzykat
          last edited by

          It's in the asterisk CLI that I saw that message.  I've got the problem resolved though.  On the asterisk server, I had only the main IP listed.  I had to add to the network devices additional VLAN.  So by adding the VLANs to the operating system, I got everything to work and didn't really need to do any bridging of the VLANs with pfSense.

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