• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Email Me
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
madbray.com

madbray.com

The WP Experiment

  • Home
  • Blog
  • Shop
  • Contact
  • About

Cisco 7960 SIP Phone on FreePBX – SOLVED

March 2, 2018 by Brad May 12 Comments

After literally MONTHS of research, testing, trial, and error…I have FINALLY figured out a working configuration for a Cisco 7960 SIP Phone on FreePBX.

You can use a res_pjsip extension, but you’ll need to make sure the following 2 options are set:

The Winning Combination

In the FreePBX Admin control panel, go to the extension you’re working with, then go to the Advanced tab and set these:

Force rport = No
Rewrite Contact = No

force rport = no; rewrite contact = no

The Force rport setting allows the phone to register with Asterisk, and the Rewrite Contact setting allows calls to be made to the Cisco phone. Before changing Rewrite Contact to “No”, I was able to dial out from the Cisco 7960, but I could not make calls TO that device.

Once you change these settings, save and Apply Config, then also reboot your phone.

Special thanks to zirophyz on this thread for the last piece of the puzzle for me (Rewrite Contact).

Other Settings and Things To Note

Each FreePBX configuration is somewhat unique, so I won’t be able to go into enough detail here to tell you what your complete setup should look like. However, here are some things to keep in mind:

  • Max Contacts – Each res_pjsip extension has a setting that allows multiple concurrent registrations (multiple devices) for a single extension. This is useful for users with a desk phone and a softphone, but you’ll need to make sure you increase this number as you add simultaneous connections (devices) to the res_pjsip extension.
  • SIP Port – By default, newer versions of Asterisk use “PJSIP” (or res_pjsip) as the default SIP driver instead of the older “SIP” (or chan_sip) driver. (You can read more about that here and here and watch a good talk here.) I decided to stay with res_pjsip because of the above Max Contacts setup, which fits our use cases pretty well. If you do this, just note that res_pjsip will use port 5060 and chan_sip will use 5160.

I hope this saves someone hours, weeks, and months of troubleshooting. I wish I would have found this information sooner than I did, and that’s why I decided to post this for you.

Comment below or mail me if you have more questions on this topic! 🙂

Share this:

  • Twitter
  • Facebook

Reader Interactions

Comments

  1. Amy says

    October 13, 2018 at 12:28 pm

    Thank you! Been tearing my hair out for days trying to get my 7960 to register the line properly with FreePBX and having no luck. These two simple switches fixed everything. You are a god among men.

    Reply
    • Brad May says

      October 17, 2018 at 8:33 am

      I know the feeling 🙂 Glad that helped!

      Reply
  2. Stephan Kölle says

    February 6, 2019 at 8:14 pm

    Thanks, this did the trick

    Reply
    • Brad May says

      February 6, 2019 at 2:25 pm

      Glad this helped you!

      Reply
  3. Dave Alan says

    May 31, 2019 at 9:26 am

    How can I thank you enough! Solved my problem with 7940 phones, Freepbx was working fine with a soft phone, not showing even an error message with my Cisco 7940s

    Reply
    • Brad May says

      May 31, 2019 at 2:03 pm

      Glad I could help!

      Reply
  4. Steve Beaumont says

    February 28, 2020 at 3:49 pm

    Thanks, that saved me hours ../Steve

    Reply
    • Brad May says

      February 29, 2020 at 3:53 pm

      Glad this helped!

      Reply
  5. Jan Penninkhof says

    November 27, 2020 at 12:10 pm

    Thanks! This saved me a lot of time. Much appreciated!

    Reply
    • Brad May says

      November 28, 2020 at 8:26 pm

      Great! Glad this helped save you some time!

      Reply
  6. OMAR STANFORD says

    August 16, 2021 at 11:54 pm

    This DID save a lot of hastle. It didn’t work at first, went out to dinner and worked like a charm when I got back. I added another extension, and get the “number or code” etc… message on that line. I did increase max contacts to 6 on both extensions. I Can’t find much else in the way of anyone else having trouble along these lines. Pardon both puns.

    Reply
    • Brad May says

      August 17, 2021 at 4:57 pm

      Glad this seems to have helped. Are you still having any problems now, or are you good? Also, never apologize for puns! Haha! They’re all great.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Join the WP Experiment

Top Rated Stuff

  • madbray.com coffee mug Coffee Mug - The Official Coffee Vessel $15.80
  • hand me a burrito t-shirt "hand me a burrito" t-shirt $27.40
  • Another Official Coffee Vessel $18.10

Connect With Me

  • Email
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Recent Posts

  • Best YouVersion Reading Plan for Entrepreneurs
  • My Real World Experience with Tayst Coffee Pods
  • How to See CHKDSK Results in Event Viewer
  • How to Turn Off AT&T DNS Error Assist
  • Android 12 Update: How to Choose Browser to Open Links

Footer

Popular Posts

  • Best YouVersion Reading Plan for Entrepreneurs
  • My Real World Experience with Tayst Coffee Pods
  • How to See CHKDSK Results in Event Viewer
  • How to Turn Off AT&T DNS Error Assist
  • Android 12 Update: How to Choose Browser to Open Links

Tags

access denied Android asterisk at&t backup beach branch change chan_sip cisco 7960 clickbank cmd coffee command prompt database electric guitar encryption Essentialism firefox freepbx genesis google docs Greg McKeown growth internet mailchimp mysql online business passwords pjsip plugins remote desktop res_pjsip review security sip siteground sunrise survey monkey veeam web hosting Windows WordPress WordPress development worship practice

Topics

  • Coffee (1)
  • Faith (8)
    • Bible Verses (1)
  • Musings (8)
  • Online Business (8)
  • Projects (4)
  • Technology (20)
  • Uncategorized (1)
  • WordPress (6)
    • Development (1)

Copyright © 2023 · Kreativ Pro On Genesis Framework · Proudly running on WordPress