Voip ports and things

Discussion in 'UK VOIP' started by Pete @ www.GymRatZ.co.uk, Sep 2, 2007.

  1. Hi All,
    I have Draytek vg2910 dual WAN router with 2 ADSL accounts active.
    I would like to force all VOIP traffic over the "backup" ADSL service
    and everything else over the primary service.

    The router allows for port or ports and Protocol(TCP, UDP, TCP/UDP,
    ICMP, IGMP) to be forced to either WAN1 or WAN2.

    Can anyone tell me which ports/protocols I would need to force Accounts
    to register and VOIP Traffic all to go to the back-up WAN ?

    Cheers
    Pete
    Pete @ www.GymRatZ.co.uk, Sep 2, 2007
    #1
    1. Advertising

  2. Pete @ www.GymRatZ.co.uk

    Linker3000 Guest

    Pete @ www.GymRatZ.co.uk wrote:
    > Hi All,
    > I have Draytek vg2910 dual WAN router with 2 ADSL accounts active.
    > I would like to force all VOIP traffic over the "backup" ADSL service
    > and everything else over the primary service.
    >
    > The router allows for port or ports and Protocol(TCP, UDP, TCP/UDP,
    > ICMP, IGMP) to be forced to either WAN1 or WAN2.
    >
    > Can anyone tell me which ports/protocols I would need to force Accounts
    > to register and VOIP Traffic all to go to the back-up WAN ?
    >
    > Cheers
    > Pete


    As a rule with Asterisk, the suggested ranges used are as follows:

    SIP: 5004-5082 (do TCP and UDP although you're probably only using UDP)
    RTP: 10000-20000 (UDP)

    You may not need the following unless you are using IAX (eg linking two
    Asterisk servers together or have IAX-based phones):

    IAX: 4569 (UDP)
    IAX2: 5036 (UDP)

    Go have a looksee:
    http://www.voip-info.org/tiki-index.php?page=Asterisk firewall rules

    When messing around with QoS on a Draytek 2600+, I found that specifying
    QoS bandwidth by ports used was hit and miss and in the end I just gave
    priority to traffic to and from our VoIP server's IP address - dunno if
    the same will apply for WAN routing but can you not just say traffic
    to/from <this-ip-address> should go via WANx?

    HTH
    Linker3000, Sep 2, 2007
    #2
    1. Advertising

  3. Linker3000 wrote:

    >
    > IAX: 4569 (UDP)
    > IAX2: 5036 (UDP)
    >

    Err, excuse me for being a pedant, but that should read:

    IAX: 5036 (UDP)
    IAX2: 4569 (UDP)
    Thomas Kenyon, Sep 3, 2007
    #3
  4. Pete @ www.GymRatZ.co.uk

    alexd Guest

    Thomas Kenyon wrote:

    > Linker3000 wrote:
    >
    >>
    >> IAX: 4569 (UDP)
    >> IAX2: 5036 (UDP)
    >>

    > Err, excuse me for being a pedant, but that should read:
    >
    > IAX: 5036 (UDP)
    > IAX2: 4569 (UDP)


    And continuing the theme of pedantry, it's highly unlikely anyone will be
    using IAX, as it's deprecated in favour of IAX2.

    http://en.wikipedia.org/wiki/Inter-Asterisk_eXchange

    --
    <http://ale.cx/> (AIM:troffasky) ()
    08:35:14 up 47 days, 14:21, 3 users, load average: 0.28, 0.18, 0.22
    09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0
    alexd, Sep 3, 2007
    #4
  5. Pete @ www.GymRatZ.co.uk

    Linker3000 Guest

    Thomas Kenyon wrote:
    > Linker3000 wrote:
    >
    >
    >>IAX: 4569 (UDP)
    >>IAX2: 5036 (UDP)
    >>

    >
    > Err, excuse me for being a pedant, but that should read:
    >
    > IAX: 5036 (UDP)
    > IAX2: 4569 (UDP)


    Thanks for that.
    Linker3000, Sep 3, 2007
    #5
  6. Linker3000 wrote:
    Thanks all for the response.

    > When messing around with QoS on a Draytek 2600+, I found that specifying
    > QoS bandwidth by ports used was hit and miss and in the end I just gave
    > priority to traffic to and from our VoIP server's IP address - dunno if
    > the same will apply for WAN routing but can you not just say traffic
    > to/from <this-ip-address> should go via WANx?


    I have tried the Qos feature and it makes very littl edifference.
    As I found out further today when a VPN connection is being experimented
    with and has been left set to "always on" at the remote end it has a
    drastic effect on VOIP data on the same WAN port.

    Also when I am uploading large files via FTP this also can scupper VOIP,
    so if I can set it for the accounts and all VOIP data alone to only go
    through the backup connection on WAN2 of which 1GB + £1/GB thereafter I
    may as well do that and know I have a dedicated stream which nothing
    else will effect.

    Re: your last point, the DraytekVG2910 has the 2 VOIP ports built in so
    there is no seperate IP address unlike a dedicated unit.

    Cheers
    Pete

    --
    http://gymratz.co.uk - Fitness & Gym Equipment/nutrition specialists.
    http://www.water-rower.co.uk - The ultimate rowing simulator.
    http://www.BBE-Boxing-Equipment.co.uk - New Boxing Equipment site.
    http://www.commercial-gym-equipment.co.uk - Commercial Gym Equipment.
    Pet - www.GymRatZ.co.uk, Sep 4, 2007
    #6
  7. Pet - www.GymRatZ.co.uk wrote:

    > Re: your last point, the DraytekVG2910 has the 2 VOIP ports built in so
    > there is no seperate IP address unlike a dedicated unit.


    And to follow up......
    I have just looked in the settings for each SIP account and there I
    jound the choice of registering through "auto" LAN1 or LAN2 !

    DOH!

    --
    http://gymratz.co.uk - Fitness & Gym Equipment/nutrition specialists.
    http://www.water-rower.co.uk - The ultimate rowing simulator.
    http://www.BBE-Boxing-Equipment.co.uk - New Boxing Equipment site.
    http://www.commercial-gym-equipment.co.uk - Commercial Gym Equipment.
    Pet - www.GymRatZ.co.uk, Sep 4, 2007
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter
    Replies:
    13
    Views:
    1,130
    B.M. Wright
    Jul 8, 2005
  2. James Fisher

    Which ports to open for VOIP (SIP)?

    James Fisher, Jul 3, 2005, in forum: UK VOIP
    Replies:
    7
    Views:
    284,778
    Trinidad
    May 30, 2011
  3. Tony

    Ports 1026 and 1027 on VoIP?

    Tony, Aug 6, 2005, in forum: UK VOIP
    Replies:
    1
    Views:
    626
    Mike Zanker
    Aug 7, 2005
  4. joseph
    Replies:
    3
    Views:
    1,267
  5. Mike
    Replies:
    27
    Views:
    1,471
Loading...

Share This Page