Cisco 7960 Incoming Call Problem

Hi All! I’m fairly new to FreePBX and am using this is purely a learning experiment.

I’m using a trial of SIPStation and when using a pjsip softphone I’m able to make and receive calls without issue (woo)!

The problem comes when trying to use my hardware Cisco 7960 phone. It can make outgoing calls as well as call my desktop softphone extension without issue. That works great.

It cannot receive incoming calls, either from my desktop extension softphone or from the outside.

When I fire up the asterisk console this is what I see:

localhost*CLI> pjsip show endpoints

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

 Endpoint:  100/100                                              Unavailable   0 of inf
     InAuth:  100-auth/100
        Aor:  100                                                1
      Contact:  100/sip:[email protected]:50019;user=phone           Unavail             0.000

 Endpoint:  101/101                                              Not in use    0 of inf
     InAuth:  101-auth/101
        Aor:  101                                                1
      Contact:  101/sip:[email protected]:39782;rinstance=271ac0d59  Avail               2.767

As you can see, 101 (desktop softphone) is available, while hardware Cisco 7960 (endpoint 100) is Unavailable.

This phone originally was giving me a 401 Unauthorized error when registering, which I fixed by setting force_rport=no inside of the pjsip.endpoint.conf, so it seems to register now and can place outgoing calls. But incoming is still not working.

I don’t see anything obvious in the logs that would indicate why it’s not working so I’m at a bit of a loss here. I did use the Open Source Endpoint Manager software to generate the configs for this device.

Any guesses as to what would help fix this are greatly appreciated. I’ve spent 2 full days googling before asking any questions, but I keep hitting dead ends.

Thanks!

I was able to fix this by reinstalling FreePBX with Aterisk v11 and setting up the extensions using chan_sip instead of pjsip.

I’m not sure what it was, but even when I created the extensions as chan_sip with the Asterisk v13 install it’d try to send all traffic to the pjsip port based on the configs being output by Device Manager. I tried changing pjsip to be on port 5063 and chan_sip to 5060 instead of 5061, but that setting kept getting reverted back on the settings page and would never take.

So, in summary, I was able to get 2x Cisco 7960G phones working with the Asterisk v11 install option using chan_sip and generating the configs using Device Manager. I’m able to accept incoming calls to my Google Voice as well as place outgoing calls.

This is pretty awesome software!