View Poll Results: What do you think I should do?

Voters
8. You may not vote on this poll
  • Give up, use the PAP and deal with it.

    4 50.00%
  • Try another VOIP gateway/Soft-PBX app: (recommendations?)

    1 12.50%
  • Keep at it and tell me when you've got the bugs worked out w/Asterisk.

    2 25.00%
  • I did it and here's how! (info?)

    1 12.50%
Results 1 to 10 of 21

Thread: Asterisk help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Location
    Southwest MO
    Posts
    219

    Default Re: Asterisk help

    Quote Originally Posted by firestorm_v1 View Post
    Here's something interesting. I looked in my vPanel to see what it was saying about registered devices. It shows: sip:2817107009@192.168.0.14

    Shouldn't that be my WAN IP address? Is there anything in Asterisk I can use to adjust that so that it shows my IP? What are the ramifications of it using the .14 address (That is the IP of the trixbox server on my local network.
    Vpanel shows my external IP address.

    In your sip.conf did you set your externip= or externhost= information? Also, my sip.conf has nat=yes in it. You also need to set the localnet=. If you are using PBX In a flash, trixbox, etc you might need to edit a custom config file since the standard ones get overwritten. I am running AstLinux so it is a basic Asterisk install.

    Code:
    externhost=fully qualified domain name of my outside IP
    localnet=192.168.1.0/255.255.255.0
    externrefresh=300
    nat=yes
    externhost can also be externip=xx.xx.xx.xx if you have a static IP.

  2. #2

    Default Re: Asterisk help

    Quote Originally Posted by scott2020 View Post
    Vpanel shows my external IP address.

    In your sip.conf did you set your externip= or externhost= information? Also, my sip.conf has nat=yes in it. You also need to set the localnet=. If you are using PBX In a flash, trixbox, etc you might need to edit a custom config file since the standard ones get overwritten. I am running AstLinux so it is a basic Asterisk install.

    Code:
    externhost=fully qualified domain name of my outside IP
    localnet=192.168.1.0/255.255.255.0
    externrefresh=300
    nat=yes
    externhost can also be externip=xx.xx.xx.xx if you have a static IP.
    Hello scott2020:

    On your items described above, what do I do if the Asterisk server has two local networks? I've got a 192.168 network that's the "main" network and a 10.0 network for the VOIP phones, ATAs, etc..
    Do I need two localnet directives?

  3. #3
    Join Date
    Sep 2008
    Location
    Southwest MO
    Posts
    219

    Default Re: Asterisk help

    Quote Originally Posted by firestorm_v1 View Post
    Hello scott2020:

    On your items described above, what do I do if the Asterisk server has two local networks? I've got a 192.168 network that's the "main" network and a 10.0 network for the VOIP phones, ATAs, etc..
    Do I need two localnet directives?
    Hi
    You can put as many localnet= lines in the configuration as you need. Just put them one line at a time with the IP and subnet masks. I do that on my box at work because there are several local networks.
    Scott

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •