How to Provision Cisco SPA504G with 3CX

by David on December 7, 2011

In this tutorial I will explain how to register the Cisco SPA504G with 3CX (10.0.18857.1613). Whether you are just starting or troubleshooting a registration problem, this guide will help you with the provisioning process.

[This guide can be used with the following Cisco SPA models: SPA501G, SPA502G, SPA504G, SPA508G, SPA509G, and SPA525G]


The following equipment was used for this guide:

  • Cisco SPA504G (hardware version 1.0.2[0001], software version 7.4.3a)
  • 3CX (10.0.18857.1613)
  • PumpKIN 2.7.3 TFTP server
  • Windows XP Pro Service Pack 3

Lets get started:
The 3CX Phone System for Windows is a software-based IP PBX. 3CX has been developed specifically for Microsoft Windows and is based on the SIP standard, this makes it easier to manage and allows you to use any SIP phones (software or hardware). For more details visit our 3CX phone system page.

The following process is designed to assist you in reserving an extension with 3CX and provisioning your Cisco 504G (we will cover both provisioning options).

Configuring 3CX:
The first step is to reserve an extension for your Cisco 504G within 3CX.
1. Go to the Extensions section of 3CX.

Photobucket

2. Select ‘Add Extension’.

Photobucket

3. Add the extension number that you want the phone to have.You can also fill out the name of the person who’s phone this will be, but that is not required as this could be placed in a waiting room, break room, etc, where that information would not be applicable.

Photobucket

4. Configure the user ID and password. It is possible for the user ID and password to be the same as the extension. However, this should only be for training purposes as having the password the same as the extension can be a security risk.

5. Select the Phone Provisioning tab.

Photobucket

6. Enter the MAC address for your phone (make sure the MAC is entered in all lowercase). You will also need to select your phone’s model from the drop down list just below the MAC field. If your phone’s model number does not appear then 3CX has not configured a template for it. You can select the phone’s manufacturer name and see if it works. If it does, you may not have access to some of the more advanced features that the phone and 3CX have to offer.
  • If your network has multiple servers you can specify which one you want your phone to utilize in the drop
    down list labeled ‘Select Interface’.
7. Select ‘Apply’ and then ‘Ok’. This will apply the settings and then take you back to your main extensions page. If needed, repeat steps 2-7 until all of your phone’s have extensions created for them.
Your 3CX is now configured and ready to accept your phone(s). Continue on to the next options to get your phone(s) to register with 3CX.
————————————————————————————————————
Option 1: Provisioning with Option 66 (auto-provisioning)
This portion of the guide will assist you in configuring your DHCP server to auto provision your Cisco 504G by utilizing Option 66. This is generally considered the easiest way to setup the phone. For this guide we will assume that your server is already running and configured for DHCP.

Configuring the Server:
1. You will first need to create a new Reservation for the phone (a new one must be made for each phone if you are installing multiple). Simply right-click ‘Reservations’ and select ‘New Reservation…’. You will be prompted to: fill out a label for the reservation,enter the desired IP address for the phone, and enter the phone’s MAC address [make sure to enter the MAC in lowercase]. If you are not sure if the IP is already in use you can ping it in the command prompt, if it fails then odds are the IP is free. Note: certain network and computer configurations can keep this from being 100% reliable. If in doubt contact your network administrator.

2. Now we will need to configure the Options for the Reservation. To do so, right click on the Reservation you just made and select “Configure Options…”.

3. Option 003: enter the Default Gateway for your network.

4. Option 006: enter the DNS IP address for the network. The information for Options 003 and 006 can be found by going to command prompt and entering ‘ipconfig /all’ without the quotes.

5. Option 015: enter the DNS Server Domain name or IP address.

6. Option 066: enter the following: http://xxx.xxx.xxx.xxx:5000/provisioning/%MA.xml (replace the “xxx.xxx.xxx.xxx” with the IP address of the computer/server hosting 3CX) If you are using this guide for a phone other than the Cisco 504G it may use a different string value than what is shown above. 3CX has provided the following:
For Aastra, Grandstream, Polycom and Yealink Phones Option 66 string value should look like this
http://xxx.xxx.xxx.xxx:5000/provisioning/
Snom Phones
http://xxx.xxx.xxx.xxx:5000/provisioning/cfg{mac}
Cisco SPA5XXG Phones
http://xxx.xxx.xxx.xxx:5000/provisioning/$MA.xml
(Note for Linksys SPA: The above string also applies to Linksys Phones. DHCP option 66 support is available
in firmware 6.1.5a only)

7. Plug the Ethernet into the phone (if you are not using POE then connect the power cable as well). When the phone powers on and it reaches the main screen you might not see the extension yet. The phone will communicate with the server to see if there are any changes, once it recognizes the settings you configured it will reboot (it can take approx. 30sec – 1min to recognize the settings). Upon reaching the main screen after the reboot your phone will be fully provisioned and ready for use. Enter the following  to force the phone to provision immediately http://xxx.xxx.xxx.xxx/admin/resync? replace the ‘xxx’ with the phone’s IP address.
————————————————————————————————————
Option 2: Provisioning without Option 66 (manual configuring)
This part of the guide will assist you with configuring the phone manually. This is not recommended for large installations as this would be very time consuming.
  • This guide was written using Firmware version 7.4.9a (link valid at time of writing), if you have a different firmware the options may be labeled differently or in different areas.
  • The phone being configured is either a new phone or has already been through a factory reset. If in doubt, reset the phone to factory settings.
  • To make a “Blind” transfer (where you transfer a call to another extension WITHOUT waiting for the other extension to respond”, you need to use the “bxfer” softkey. To make an “Attended” transfer (where you wait for the second extension to answer before transferring the call), you need to use the “xfer” softkey. Using the “Attended” transfer method WITHOUT waiting for the other extension to respond currently does not work with the Cisco phone range.
1. First we will need to get the IP address of the phone. To do so, start up the phone and use the menu key to get to the ‘Network’ option and press the ‘Select’ softkey. For this guide we will assume the IP address of the phone is 10.0.0.5 and the computer hosting 3CX is 10.0.0.11.

2. In your web browser go to http://10.0.0.5

3. At the top right of the page click on ‘Admin Login’ and then ‘Advanced’

Photobucket

4. Now we need to configure the phone to register with 3CX. Click on the ‘Ext1’ tab and configure the following options:

a. Set the “Line Enable” field to yes.
b. In the  “Proxy and Registration” field, set the ‘Proxy’ as the IP address of your 3CX system. In this example it is 10.0.0.11.
Photobucket

c. In the “Subscriber Information” field enter the following options:
i. Set the ‘Display Name’ to the name you want to appear on the phone’s display.
ii. Set the ‘User ID’ to the extension number (that was previously configured in 3CX) for this phone.
iii. Set the ‘Password’ to the extension’s Authentication Password.
iv. Set the ‘Use Auth ID’ to “yes” This is critical to allowing the phone to register with 3CX. If your phone is not picking up the provisioning do a quick check and make sure this is set properly.
v. Set the ‘Auth ID’ to the extension number.

Photobucket

d. At the ‘Dial Plan’ section, set the Dial Plan field to “[x*].” (without the quotes).

Photobucket

5. Next, we need to configure the Voice Mail Number on the phone to be able to retrieve Voice Mail messages from your 3CX System. Click on the ‘Phone’ tab and set the ‘Voice Mail Number’ field to your system’s Special Voice Mail Extension Number. (In a 3-digit installation, the default is “999″ – you can check the correct value from the “Settings -> General” page in the 3CX Management Console)

6. Now we need to adjust the audio parameters. Click on the ‘SIP’ tab and, in the ‘TRP Parameters’ field,  set the “RTP Packet Size” to 0.020

Photobucket

7. Click on the ‘Submit All Changes’ button at the bottom of the page. At this point your phone will reboot. After it comes back on it will be registered with your 3CX system. This can be verified by going to the ‘Extension Status’ page in your 3CX Management Console.

If you need to provision different phones with 3CX please refer the following link: http://www.3cx.com/sip-phones/

After following these steps you should see your extension listed on your Cisco phone. You will also see that 3CX has the extension set to ‘Registered’ (under the ‘Extension Status’ section), and the phone is listed under the ‘Phones’ section. At this point your phone is ready for use!

{ 0 comments }

VoIPLink to Distribute Yealink VoIP Phones

by Cory Andrews on July 20, 2010

Yealink

VoIPLink.com has recently announced a partnership with up and coming VoIP Phone manufacturer Yealink to distribute the full line of Yealink VoIP Phones.

Based in Xiamen, China, Yealink has been manufacturing VoIP products for nearly a decade. VoIPLink will offer a range of Yealink VoIP Phone models, including: [click to continue…]

{ 1 comment }

Cool Product Alert: Cisco Cius HD Voice and Video Tablet (w/Android OS)

July 15, 2010

Cisco recently announced the upcoming release of a new product called the Cisco Cius, according to Cisco press a first-of-its-kind mobile collaboration business tablet that delivers virtual desktop integration with anywhere, anytime access to the full range of Cisco collaboration and communication applications, including HD video.
The Cisco Cius is a small, portable tablet device designed [...]

Read the full article →

What is VoIP?

July 8, 2010

The term VOIP is an acronym which stands for Voice Over Internet Protocol. VoIP phone service is typically delivered using the internet (think Vonage) or private, carrier owned IP networks which transmit voice alongside data.
To contrast this, traditional landline telephone service is delivered over what we call the PSTN, or Public Switched [...]

Read the full article →

How to Provision Polycom IP Phones via TFTP: Part 1

June 28, 2010

Polycom SoundPoint Series IP Phones are amongst the most popular VoIP phones for use with Asterisk, Trixbox, 3CX and other SIP based VoIP Phone Systems. If you are installing more than a handful of Polycom phones, knowing how to provision and manage them via TFTP can save you a lot of time and [...]

Read the full article →

What’s New? Grandstream GXP285 Single Line IP Phone

June 17, 2010

Grandstream is prepping their new GXP285 single-line IP Phone for summer release. The Grandstream GXP285 will feature dual switch ethernet ports with 802.3af compliant Power Over Ethernet (PoE) support. This phone also sports a full duplex speakerphone with acoustic echo cancellation, 1 line appearance with FLASH to allow 2 simultaneous calls, and 3 [...]

Read the full article →

PocketAsterisk iPhone Application Released

June 9, 2010

As of January 2010, Apple had sold nearly 34.5 million iPhones worldwide, and there were more than 134,000 3rd party applications available in the Apple App Store.
Now there is an iPhone application for remote administration of Asterisk based IP PBX systems called PocketAsterisk. PocketAsterisk allows iPhone users who also happen to be Asterisk administrators [...]

Read the full article →

Skype Updates iPhone VoIP Calling for 3G Users

June 2, 2010

Skype has finally released the much anticipated update for their popular iPhone VoIP calling application, adding native support for VoIP calls over the iPhone 3G data connection.

Read the full article →

Choosing the Right Expansion Module for your Cisco IP Phone

May 27, 2010

If you need to add additional line support to a Cisco IP phone, there are several add-on “attendant console” modules to choose from which can be used for additional line appearance call control. Choosing the correct expansion module for your application depends upon the model of Cisco IP phone you are working with, and [...]

Read the full article →

HAAST: High Availability Clustering for Asterisk

May 19, 2010

Asterisk Open Source PBX continues to march along, supported by a community of thousands of active developers. The appeal of Asterisk as a foundation for voice communications has transcended first adopter and Linux devotees. Today even large, traditional enterprise users are taking a long hard look at open source as they struggle to [...]

Read the full article →