Nat Phone in Asterisk 10

Home » Asterisk Users » Nat Phone in Asterisk 10
Asterisk Users 4 Comments

Hello listers,

Another opportunity presents itself in my 1.4 to
10.0 conversion. My asterisk is set up for 192.168.23.xx and most of my
phones are 192.168.23.yy peers. I work on two subnets so I have one phone
defined as 192.168.33.xx. This phone comes up and registers and accepts
calls and calls out in 1.4.41 but shows unreachable in 10.0. What changed
that is killing my “off-network” phone?

Thanks in Advance

Danny Nicholas

4 thoughts on - Nat Phone in Asterisk 10

  • Not info about networl settings. Please give output of
    ip l
    ip -4 a
    ip ro

    2011/11/1 Danny Nicholas

  • IP outputs

    ip 1

    Object “1” is unknown, try “ip help”.

    ip -4 a

    1: lo: mtu 16436 qdisc noqueue state UNKNOWN

    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo

    inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo

    2: eth0: mtu 1500 qdisc pfifo_fast state
    UNKNOWN qlen 1000

    inet 192.168.23.97/24 brd 192.168.23.255 scope global eth0

    ip ro

    192.168.23.0/24 dev eth0 proto kernel scope link src 192.168.23.97

    169.254.0.0/16 dev eth0 scope link

    127.0.0.0/8 dev lo scope link

    default via 192.168.23.150 dev eth0

    phone that doesn’t connect has static IP of 192.168.33.90

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Anton
    Kvashenkin
    Sent: Tuesday, November 01, 2011 4:12 AM

    Not info about networl settings. Please give output of

    ip l

    ip -4 a

    ip ro

    2011/11/1 Danny Nicholas

    Hello listers,

    Another opportunity presents itself in my 1.4 to
    10.0 conversion. My asterisk is set up for 192.168.23.xx and most of my
    phones are 192.168.23.yy peers. I work on two subnets so I have one phone
    defined as 192.168.33.xx. This phone comes up and registers and accepts
    calls and calls out in 1.4.41 but shows unreachable in 10.0. What changed
    that is killing my “off-network” phone?

    Thanks in Advance

    Danny Nicholas

  • Which phone model do you use? 192.168.33.90 doesn’t belong to
    192.168.23.0/24, so the first thing that i will be doing is check routing
    tables on the phone. Or for more help you could draw you network layout and
    poste here.

  • I use Polycom 501 phones. I have two networks – 192.168.23.0/24 and
    192.168.33.0/24. My Asterisk server and most of my phones are on the 23
    net. I have the one phone on the 33 net for cross-net testing (works fine on
    1.4.41).

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Anton
    Kvashenkin
    Sent: Wednesday, November 02, 2011 5:25 AM

    Which phone model do you use? 192.168.33.90 doesn’t belong to
    192.168.23.0/24, so the first thing that i will be doing is check routing
    tables on the phone. Or for more help you could draw you network layout and
    poste here.