Server behind router

Discussion in 'General' started by Terry, Jul 27, 2008.

  1. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,

    My Elastix IPPBX server IP is 192.168.0.100 and behind Router ,Router is 61.61.xxx.149 with public static IP
    Router is open DMZ function ,192.168.0.100 to 61.61.xxx.149
    another softphone and gateway is 192.168.0.101 and 192.168.0.102,they can talk each ,
    But i have another public gateway cannot register on this Elastix IPPBX ,what can i do ?please help ?

    My problems is ;how to modify config for IPPBX with NAT problems ?

    Thanks
    Terry
     
  2. MageMinds

    Joined:
    Jun 26, 2008
    Messages:
    55
    Likes Received:
    0
    You have to search the forum about modifying the file sip_nat.conf

    Also I don't recommend putting the PBX on a DMZ, because there are no firewall on Elastix... You should port forward specific ports. Keep in mind that some router aren't compatible with Asterisk, because they do the NAT in a way that Asterisk won't be able to handle.

    Also, you should be aware that you need a QoS router or a QoS gateway between your router and the modem to have a constant voice quality.
     
  3. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Thanks your advise

    1 I am useing Elastix 1.2-2 Version ,I cannot find sip_nat.conf at /etc/asterisk

    2 I try change sip.conf But cannot sucess

    Can u tell me more ?

    Terry
     
  4. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    hi.

    ok, don't use DMZ for your Elastix server.
    Open some port UDP only.
    SIP. UDP
    RTP. UDP
    TFTP UDP
    IAX2.UDP

    and use to redirect port from your routeur.

    including nat config into sip.conf . (if sip_nat.conf do not exist)



    into remote extensions, enable nat=yes

    CLI>restart now


    that's all ;)<br><br>Post edited by: danardf, at: 2008/07/27 12:22
     
  5. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Exactly

    I use a Linksys WRT54GV2 with dd-wrt firmware V23 SP2
    it's very cool.
     
  6. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear All,

    Is it possible get anyone of you for Route config detail information and sip.config information ?

    For my Ref.

    Terry
     
  7. MageMinds

    Joined:
    Jun 26, 2008
    Messages:
    55
    Likes Received:
    0
    if sip_nat.conf doesn't exists just create it ... look into the sip config file there's an include of that file.

    If you have that router you should be able to install v24 of DD-WRT there is a version that have a SIP Proxy in it to facilitate NATting SIP.

    If you plan to only have one SIP device (Elastix) behind NAT router, you could try to only make port forward of the following ports, but sometimes some nat router doesn't work.

    UDP 5060:5080
    UDP 10000:20000

    If you see an option to enable static NAT enable that that could help, but the best solution would be to install the SIP aware version of dd-wrt and configure it properly, so you could register phone from the untrusted Internet even in dual NAT situation, you could also receive anonymous SIP calls through ENUM (e164.org)

    MageMinds
     
  8. accesip

    Joined:
    May 16, 2007
    Messages:
    113
    Likes Received:
    0
    Peux tu me donner ton tel?
    Brice
     
  9. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Brice
    hmmm.... tu veux le téléphone de qui au juste?
     
  10. accesip

    Joined:
    May 16, 2007
    Messages:
    113
    Likes Received:
    0
    Ton numero de téléphone afin de prendre contact des personnes travauillant sur elastix en France
     
  11. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Si c'est ponctuel et ne pas être considéré pour une hotline, pourquoi pas :p

    Donnes moi ton mail perso, je te donnerais mon n° de téléphone. ;)
     
  12. accesip

    Joined:
    May 16, 2007
    Messages:
    113
    Likes Received:
    0
    brice arobace accesip point fr
     

Share This Page