Location of rtp.conf to change?

Discussion in 'General' started by stuart, Jun 4, 2009.

  1. stuart

    Joined:
    Dec 28, 2007
    Messages:
    32
    Likes Received:
    0
    I am changing the RTP ports on Elastix so that I can use the SIP Proxy in SmoothWall Gateway/Firewall which seems to monitor rtp 7070:7120 and notice that there are two rtp.conf files available;

    /etc/asterisk/rtp.conf
    /etc/asterisk.elastix/rtp.conf

    Which of the above files should I edit to change the rtp ports used by Elastix to 7070:7120, and are the changes to rtp.conf the only changes required in Elastix to change which rtp ports are used?

    When creating sip_nat.conf, where should it be located, in

    /etc/asterisk/sip_nat.conf or
    /etc/asterisk.elastix/sip_nat.conf ???
     
  2. Mirko87

    Joined:
    Oct 20, 2008
    Messages:
    128
    Likes Received:
    0
    Hi,
    the files you need to edit are the follow:
    1- /etc/asterisk/rtp.conf
    2- /etc/asterisk/sip_nat.conf
    After the changes, reload the Asterisk Core.

    Regards,

    Mirko
     
  3. sasben2

    Joined:
    Jul 24, 2009
    Messages:
    14
    Likes Received:
    0
    I'm also using smoothwall and have had registration success with and without the sip proxy. I do forward custom RTP ports to the asterisk server.

    Where did you find that smoothwall used 7070:7120?
     
  4. stuart

    Joined:
    Dec 28, 2007
    Messages:
    32
    Likes Received:
    0
    I use both SmoothWall Advanced and SmoothWall community, the sip proxy configuration is in a different location for each. Do you use SmoothWall Advanced or SmoothWall Community version, let me know and I will get the files and their locations tonight.
     
  5. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    /etc/asterisk.elastix is not use and would dissapear in future version to avoid this confusion.

    Regards,

    Rafael
     
  6. stuart

    Joined:
    Dec 28, 2007
    Messages:
    32
    Likes Received:
    0
    Smoothwall Community Version
    /var/smoothwall/sipproxy/siproxd.conf
    rtp high and low ports set here

    Smoothwall Advanced
    /modules/sip/usr/bin/smoothwall/siproxdconf.pl
    Any changes made in this file will update the siproxy and retain the changes
     

Share This Page