Cisco 7975G registers but endpoint is unavailable

I’m trying to use a Cisco 7975G phone with FreePBX 14, but the endpoint remains in a unavailable state:

-- Added contact 'sip:[email protected]:49968' to AOR '1101' with expiration of 3600 seconds
  == Contact 1101/sip:[email protected]:49968 has been created
  == Endpoint 1101 is now Reachable
-- Contact 1101/sip:[email protected]:49968 is now Unreachable.  RTT: 0.000 msec
  == Endpoint 1101 is now Unreachable

freepbx*CLI> pjsip show endpoints

 Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
    I/OAuth:  <AuthId/UserName...........................................................>
        Aor:  <Aor............................................>  <MaxContact>
      Contact:  <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
  Transport:  <TransportId........>  <Type>  <cos>  <tos>  <BindAddress..................>
   Identify:  <Identify/Endpoint.........................................................>
        Match:  <criteria.........................>
    Channel:  <ChannelId......................................>  <State.....>  <Time.....>
        Exten: <DialedExten...........>  CLCID: <ConnectedLineCID.......>
==========================================================================================

 Endpoint:  1101/1101                                            Unavailable   0 of inf
     InAuth:  1101-auth/1101
        Aor:  1101                                               1
      Contact:  1101/sip:[email protected]:51748              f4846e278b Unavail       0.000

I tried several firmware versions for the phone, 8-3, 8.5.4 and 9.4. The result remains the same.
I’m attaching a tcpdump of the phone restart and also the xml config for the phone.
Any help will be greatly appreciated.
info.tgz (6.6 KB)

You have a NAT issue where the phone is located. That’s the issue. From my experience these phones are not that great over NAT.

The phone and asterisk are both on the same subnet, 1.1.1.128/25.
I don’t understand why NAT should be a problem in this case.
I tried enabling NAT in the phone and providing the external IP address, as configured in asterisk:

<natEnabled>false</natEnabled>
<natAddress>external IP address</natAddress>

but there is no change in the behaviour of the phone:

    -- Added contact 'sip:[email protected]:49398' to AOR '1101' with expiration of 3600 seconds
  == Contact 1101/sip:[email protected]:49398 has been created
  == Endpoint 1101 is now Reachable
-- Contact 1101/sip:[email protected]:49398 is now Unreachable.  RTT: 0.000 msec
  == Endpoint 1101 is now Unreachable

That is a public subnet. So the PBX is sitting on a public IP as are the phones?

Yes, it’s a public subnet which sits behind a firewall that performs NAT for hosts on the subnet that need to speak to the outside world.
The 1.1.1.128/25 subnet is not visible from the outside world.
And yes, the PBX (1.1.1.148) and the phone (1.1.1.163) are sitting on the same subnet.
I know that 1.0.0.0/8 is a public and routable class A ip address, but in my case, it’s like any other RFC1918 ip addresses.

So as I said before this is a NAT issue. Now if all these phones and the PBX are on the same local network then you’re requests shouldn’t be traversing NAT but they are and because this is a public subnet, it will route that way and not die because these are not RFC1918 addresses, at all. Nothing will treat them that way outside of your network.

So you have a networking and/or NAT issue that you need to resolve.

You may be right about the NAT problem, but the networking not so sure…
I have another 2 endpoints registered and working on the same subnet 1.1.1.128/25 - a Yealink T22 (ext 1105, IP 1.1.1.179) and a Linksys ATA adaptor (ext 1106, IP 1.1.1.180) - both working ok, can be ringed and can ring each other.

 Endpoint:  1105/1105                                            Not in use    0 of inf
     InAuth:  1105-auth/1105
        Aor:  1105                                               1
      Contact:  1105/sip:[email protected]:5062               9231ed6f3f Avail        78.722
   Identify:  1105-identify/1105

 Endpoint:  1106/1106                                            Not in use    0 of inf
     InAuth:  1106-auth/1106
        Aor:  1106                                               1
      Contact:  1106/sip:[email protected]:5060               ec9ea5eefb Avail        16.574
   Identify:  1106-identify/1106

This is what I want for the Cisco 7975 - to be available so I can ring it from the other extensions.
By the way, from the 7975 I can ring the other 2 extensions, 1105 and 1106.

In the pbx I don’t have any trunk defined.

Anyone any ideas?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.