User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
Let me start by confirming that these phones will not work with the majority of UK VoIP providers. After extensive testing, I couldn't get one to register with any of the UK VoIP providers I use. E.g. Voipfone, Voicehost, Sipgate, Voipcheap etc...

Cisco has a different way of handling SIP connections through NAT and a firewall on these phones, and it's not compatible with the way the rest of the world (including Asterisk) do it. This odd behavior is RFC compliant but highly non-standard and breaks symmetric NAT traversal workarounds commonly deployed by VOIP providers. Cisco support reports that this use of random high number ports to send SIP messages is a "security enhancement" compared with Cisco's other/older products.

All is not lost though, you can configure this phone for use with a local PBX such as FreePBX by disabling NAT on both the phone and the extension it's registered against.

1. Avoid the version 9 firmware, it's problematic, laggy and registrations sometimes fail. The most problematic for me was the v9.3.1 SR4 release, the most stable being v8.5.4. ***SO USE v8.5.4!!!***

2. There are three additional configuration files required to be placed in your TFTP folder along side the required firmware files. As above, I strongly recommend that you install and use SIP firmware v8.5.4. The following configuration files work perfectly with that release:

Code: Select all
            <member priority="0">
    <loadInformation6 model="IP Phone 7970">SIP70.8-5-4S</loadInformation6>
Code: Select all
            <timeZone>GMT Standard/Daylight Time</timeZone> 
                <member priority="0">
            <line button="1">
Code: Select all
    <TEMPLATE MATCH="999" Timeout="0"/>             <!-- Emergency -->
    <TEMPLATE MATCH="112" Timeout="0"/>             <!-- Emergency -->
    <TEMPLATE MATCH="101" Timeout="0"/>             <!-- Almost an Emergency -->
    <TEMPLATE MATCH="111" Timeout="0"/>             <!-- NHS emergency and urgent care services -->
    <TEMPLATE MATCH="100" Timeout="0"/>             <!-- Operator -->
    <TEMPLATE MATCH="155" Timeout="0"/>             <!-- International Operator -->
    <TEMPLATE MATCH="123" Timeout="0"/>             <!-- Speaking Clock -->

    <TEMPLATE MATCH="1471" TIMEOUT="0"/>            <!-- Call Return -->
    <TEMPLATE MATCH="1571" Timeout="0"/>            <!-- Voicemail -->
    <TEMPLATE MATCH="1572" Timeout="0"/>            <!-- Group Voicemail -->
    <TEMPLATE MATCH="118..." Timeout="0"/>          <!-- Men with moustaches -->
    <TEMPLATE MATCH="116..." Timeout="0"/>          <!-- Pan-European Social Help -->
    <TEMPLATE MATCH="08001111" Timeout="0"/>        <!-- Childline -->
    <TEMPLATE MATCH="0845464." Timeout="0"/>        <!-- NHS Direct -->
    <TEMPLATE MATCH="0500......" Timeout="0"/>      <!-- Apparently 0500 is always 10 digits -->
    <!-- Uncomment if you care about this one. Worst case, you'll wait 5 seconds -->
    <!-- <TEMPLATE MATCH="016977...." Timeout="0"/> --> <!-- Brampton, Carlisle. Also 10 digits -->
    <TEMPLATE MATCH="00*" Timeout="5"/>             <!-- International, 00 prefixed. No fixed length -->
    <TEMPLATE MATCH="0.........." Timeout="0"/>     <!-- UK 11 digit, 0 prefixed -->
    <TEMPLATE MATCH="1410.........." Timeout="0"/>  <!-- UK 11 digit, 141 prefixed -->
    <TEMPLATE MATCH="14700.........." Timeout="0"/> <!-- UK 11 digit, 1470 prefixed -->
    <TEMPLATE MATCH="\*.." Timeout="0"/>            <!-- Asterisk *.. codes -->
    <TEMPLATE MATCH="*" Timeout="5"/>               <!-- Anything else -->
IMPORTANT: Each phone should have its own configuration file so you need to rename the file 'SEP[MAC].cnf.xml'. Simply replace “[MAC]” with the MAC address of your Cisco 7970. E.g. If your phones MAC address is '01:02:03:AB:CD:0A', rename the file 'SEP[MAC].cnf.xml' to 'SEP010203ABCD0A.cnf.xml'. FYI, the filename of the required v8.5.4 SIP firmware is ''.

The contents of my TFTP folder based on the above look like this:
  • United_Kingdom/g3-tones.xml
  • apps70.8-5-4TH1-6.sbn
  • cnu70.8-5-4TH1-6.sbn
  • cvm70sip.8-5-4TH1-6.sbn
  • dialplan.xml
  • dsp70.8-5-4TH1-6.sbn
  • jar70sip.8-5-4TH1-6.sbn
  • load119.txt
  • load30006.txt
  • SEP010203ABCD0A.cnf.xml ***This was the SEP[MAC].cnf.xml file, I renamed it with the MAC address of my phone!***
  • SIP70.8-5-4S.loads
  • term70.default.loads
  • term71.default.loads
  • XMLDefault.cnf.xml
3. Edit the file 'SEP[MAC].cnf.xml' and replace the following parameters located inside with your own:
  • [IPADDRESS] - Replace all of this text with the IP address of your PBX. E.g.
  • [USERID] - Replace all of this text with your extension username/userid. E.g. 200
  • [PASSWORD] - Replace all of this text with your extension secret/password. E.g. password
4. Disable NAT on the PBX extension that the Cisco 7970 is trying to register against. Log in to your FreePBX server and navigate to 'Applications > Extension'. You now need to edit the extension that your phone will be registering against. Once you have clicked on the 'Edit' within the options box next to the extension, click on the 'Advanced' tab and scroll down to the '-Edit Extension' section, make the following changes:
  • NAT Mode = No- (no)
  • Qualify = no
Note: 7970/7971 phones (and similar) seem to be limited to a password of 31 characters or less, but recent versions of FreePBX automatically generate 32 character random passwords when creating new extensions. You must modify the auto-generated FreePBX password to be 30 characters or less, or the phones will complain of an error parsing the SIP<mac>.cnf configuration file and fail to register.

5. Now reboot you phone and make some calls!
paulash134 liked this
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
The above post is aimed towards users located in the UK, it includes a basic United Kingdom dial plan and configures the Cisco 7970 / 7971 Network Locale with United_Kingdom tones.

Check out the thread named United Kingdom XML Tones for the Cisco 7900 Series IP Phones for more details regarding the g3-tones.xml file.

network_locale.png (16.59 KiB) Viewed 11090 times
Unfortunately I am unable to locate the required td-sip.jar file needed to configure the phones User Locale for use with English_United_Kingdom. If you're wondering what the difference is between User Locale and Network Locale:

User Locale – language display on the phone.
Network Locale – Tones and cadence according to country.

So the phones User Locale will use the default English_United_States language. If you have or have access to the required td-sip.jar for use with SIP firmware version 8.5.4 please consider sharing it. :thumbsup:

A Hook Flash is nothing more than hanging up and picki…

Thank-you extremely helpful. What would I do if for s…

Am not sure where my Grandstream HT813 was sourced from…

My HT801 was configured for another UK provider. I rea…

Sign up for VIP membership