Cisco 7911G/7942/7945/7962 Phone with Asterisk

Download the firmware (7911 ,79427945 , 7962) and extract it.

Download and install/extract the tftp server software.

Open the tftp server software and make the SIP firmware  extracted directory as the root directory of the tftp server.

Goto command prompt(Start>Run>CMD and press enter) and enter the following command.

C:\Users\user>tftp <tftp-server-ip-address> get dialplan.xml

You should get the message starting “Transfer Successful”.(If your OS is Win7/Vista you have to install tftp client from the Add/Remove Programs)

C:\Users\shyju>tftp 192.168.20.124 get dialplan.xml
Transfer successful: 258 bytes in 1 second(s), 258 bytes/s

Open your dhcp server configuration and add  TFTP server IP address as the boot server in DHCP scope Options. Refer this article to configure DHCP Options.

Rename the  with SEP<MAC-ADDRESS-OF-YOUR-PHONE>.cnf.xml. Then open that file and change the following lines to match with your IP PBX details.

<processNodeName>
<featureLabel>
<proxy>
<port>
<name>
<displayName>
<authName>
<authPassword>

Edit your Asterisk SIP configuration and add nat = no below the user context.

This step is important otherwise the phones will not register and on the phone’s display you can see the message Registering..

If you are using FreePBX the file will be /etc/asterisk/sip_additional.conf, In the case of Asterisk-GUI file is /etc/asterisk/users.conf

[610]
deny=0.0.0.0/0.0.0.0
type=friend
secret=jbsdf7h4ks
qualify=yes
port=5060
pickupgroup=
permit=0.0.0.0/0.0.0.0
nat=no
mailbox=610@device
host=dynamic
dtmfmode=rfc2833
dial=SIP/610
context=from-internal
canreinvite=no
callgroup=
callerid=device <610>
allow=all
accountcode=
call-limit=50
Advertisements

33 thoughts on “Cisco SIP Configuration

  1. I’ve faced with a problem while trying to connect Cisco 7911 and download dialplan.xml but it says “Error code 1: File not found”. I’m using Ubuntu 10.04.

    I solved by changing file name to xmlDefault.cnf.xml

  2. Hi,

    on 7945 firmware update never worked, after downloading term45.defaults.loads it stops with error message “Auth Failed” !! weird, isn’t ?

    do you have any idea ?

  3. I verified in the internet and i think that the pb was that you we were upgrading from an old version from my version i tried to upgrade from SCCP45.8-3-2S to the one proposed in this article.
    please could some one help with links to download the good firmware ? i have not a cisco subscription.

    Thank you for your good tuttorial.

    1. Merci beaucoup pour ce site. je pense que je ne le connaissais juste de nom sans vraiment y jeter un coup d&o#l17;8ei2, mais je vais allez-y voir de plus près !

  4. I read somewhere that upgrading from 8.3.2S (what a chance !!!) to this version or above (9.x) won’t work because of bug.
    So if smoeone can give us any intermediate firmware between 8.3.2S and 8.4.4. (I got his latter version and the upgrade is not possible)

  5. I have tried to use this method to install sip firmware on a Cisco 7911g and the update seemed to go well. with the phone registering and making outbound calls.
    however i have a few problems. first of all the phone shows a very brief error when booting (too fast to read anything except error cache). also the phone always requests files from the tftp server on initial boot. if the tftp is not running it just gets stuck on registering screen. final problem is that there now appears to be no web portal to access the phones settings.
    do these seem like symptoms of bad install or are they inherent with the firmware?

    1. What you have seen on phone’s screen while booting is normal(I have not configured all the options in cnf files). You can not configure Cisco phones(Other than Cisco Linksys) from it’s web interface. If you enable http in cnf file, you can see the status of the phone from web UI.

  6. I LOVE YOU! Working so well on our cisco 7945’s, I have been trying this for a few weeks and did it in 10 minutes thanks to you!

      1. One thing I would like some input on though, when I dial from my 7945 it takes about 10 seconds before it actually makes the call, whereas on softphones this is instant, do you have any ideas on this?

      2. Cool thanks, now I know to look at diaplan I will copy off our old Cisco system and have a look, any ideas on getting a 7921 wireless handset working?

  7. hi All;

    I have a similar issue:
    I’am trying to upgrade my 7945G from SIP45.8-5-4S To SIP45.9-3-1SR1-1S.
    I have my tftp installed on asterisk server with the sip firmware in the tftpboot .
    the phone is upgrading after a factory reset getting an ip adress and finding the term45.default.loads saying ok and after that it s rebooting all the time repeating the same process.

    Any ideas???
    Thanks in advance ; )

    1. Thanks for all of your guidance. Please re-post the dial plan.xml. When I dial outbound I am experiencing around a 18 second delay before the call is placed.

      Thanks!!

  8. Thanks for another magnificent article. The place else may just anybody get that
    type of info in such a perfect method of writing?
    I have a presentation subsequent week, and I’m on the look for such information.

  9. Hey would you mind letting me know which webhost you’re working with? I’ve loaded your blog in 3 different web browsers
    and I must say this blog loads a lot faster then most.
    Can you recommend a good internet hosting provider at a reasonable price?
    Thanks a lot, I appreciate it!

  10. I have loaded the firmware for a 7911 from your site. Once the fimware is loaded, I can not edit SIP options. In the configuration for SIP I can scroll through the options, but SELECT or EDIT softkey do not appear.

    I can change the IP and TFTP IP address under network (Edit softkey shows), but nothing under SIP.

    It says it’s lock or unlocked when using **#, but I;m not able to change anything.

    1. Thanks to you article I was able to register all my Cisco phones 7970 7965 7945 and 7911 with asterisk using SIP firmware, thank you.

      Would someone send one SEP XML file for including a 7914 along with 7970 or 7965

  11. Cisco 7911 SIP firmware Phone: (dialing: REORDER)
    I have a Cisco 7911 SIP connected to freePBX. I can call the phone and answer the call, but I can not dial anything.

    Extension to Extension or Outbound dialing, I get REORDER on the display.

  12. added line to my SEP.xml
    DRdialplan.xml

    Created DRdialplan.xml:

    Cisco 7911 SIP connected to FreePBX is now working.

  13. Can I ask how you modified dialplan.xml to speed up dialing? After entering a number to dial on my 7945 it takes quite a long time to actually make the call.

  14. We have been trying this for a week to register cisco 7911G with Asterisk 1.8 but nothing was helping. This article worked like a magic for us. The trick of putting nat = no under user context is amazing!!!!!!! THANK YOU SO MUCH

  15. Goor Afternoon; I’m trying to configure a 7911g to work with a elastix 1.6, but it is impossible. Does anyone know the right 7911g firmware version, and where i acn get it?

  16. An outstanding share! I have just forwarded this onto a coworker who was conducting a little resarch on this.

    Andd he actually bought me lunch due to the fact that
    I stumbled upon it foor him… lol. So let mee reword this….
    Thank YOU for the meal!! But yeah, thanks for sppending thhe time to talk about this topic here
    on your website.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s