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

    Load balance SIP/RTP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.9k 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.
    • C
      cervis
      last edited by

      Hello,
      we are using pfsense 1.2.3-RELEASE with two WAN and two LAN interfaces.
      WAN1 is a less quality cable connection
      WAN2 is a high quality SDSL connection
      LAN1 is for all network protocols other than SIP/RTP
      LAN2 is especially reserved for SIP/RTP protocol

      Unfortunately, the high quality SDSL line has a limited capacity of 6 VoIP connections.
      Now, I am looking for a solution to use the less quality cable line as a fallback for the rare situation of more than 6 parallel VoIP connections.

      But, I have a problem, I have just one asterisk v1.4 server and one SIP provider. So, on both ends of the VoIP connections there are only single IP addresses. The asterisk server can be configured to use another line, if the first line reaches a maximum of 6 VoIP connections, but the second line has to use the same destination IP address. So I can not differentiate the two lines within the pfsense gateway.
      Is it possible to rewrite the destination IP address of outgoing packets on the WAN1 interface? Because, I could use a fake IP address for the second line in the asterisk configuration.

      Does anyone have another idea?

      Stefan

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