├── 24.raw ├── Analog1.raw ├── Analog2.raw ├── AreYouThere.raw ├── AreYouThereF.raw ├── Bass.raw ├── CallBack.raw ├── Chime.raw ├── Cisco-acoustic.raw ├── Cisco-human.raw ├── Cisco-standard.raw ├── Cisco-symph.raw ├── Cisco-synth.raw ├── Cisco-techno.raw ├── Classic1.raw ├── Classic2.raw ├── ClockShop.raw ├── LICENSE ├── README.md ├── SEP000000000000.cnf.xml ├── SIP11.9-4-2SR1-1S.loads ├── apps11.9-4-2ES9.sbn ├── cnu11.9-4-2ES9.sbn ├── copstart.py ├── copstart.sh ├── cvm11sip.9-4-2ES9.sbn ├── dialplan.xml ├── dsp11.9-4-2ES9.sbn ├── g3-tones.xml ├── jar11sip.9-4-2ES9.sbn ├── load307.txt ├── load369.txt ├── ringlist.xml ├── term06.default.loads └── term11.default.loads /24.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/24.raw -------------------------------------------------------------------------------- /Analog1.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Analog1.raw -------------------------------------------------------------------------------- /Analog2.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Analog2.raw -------------------------------------------------------------------------------- /AreYouThere.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/AreYouThere.raw -------------------------------------------------------------------------------- /AreYouThereF.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/AreYouThereF.raw -------------------------------------------------------------------------------- /Bass.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Bass.raw -------------------------------------------------------------------------------- /CallBack.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/CallBack.raw -------------------------------------------------------------------------------- /Chime.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Chime.raw -------------------------------------------------------------------------------- /Cisco-acoustic.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-acoustic.raw -------------------------------------------------------------------------------- /Cisco-human.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-human.raw -------------------------------------------------------------------------------- /Cisco-standard.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-standard.raw -------------------------------------------------------------------------------- /Cisco-symph.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-symph.raw -------------------------------------------------------------------------------- /Cisco-synth.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-synth.raw -------------------------------------------------------------------------------- /Cisco-techno.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Cisco-techno.raw -------------------------------------------------------------------------------- /Classic1.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Classic1.raw -------------------------------------------------------------------------------- /Classic2.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/Classic2.raw -------------------------------------------------------------------------------- /ClockShop.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/ClockShop.raw -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Danny McClelland 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cisco-7906G-SIP 2 | Cisco 7906G SIP Configuration Files (for 3rd party PBXs) 3 | 4 | ### TFTP/DHCP Configuration 5 | 6 | During boot the handsets will discover the TFTP server via DHCP option 66 and/or DHCP option 150. For this example I set option 66 of our VoIP VLAN to the local IP address of our TFTP server. All of the configuration files, firmware files and other customisation files reside in the root directory of the TFTP server, in this case it was `\TFTPBOOT`. 7 | 8 | ### Base Configuration Files 9 | 10 | Each handset will require an SEP configuration file. The filename must be `SEP000000000000.cnf.xml` where the `000000000000` is the MAC address of the Cisco handset. 11 | 12 | In the example SEP configuration file, the following values have been set: 13 | 14 | sip.provider.com 15 | 123.123.123.123 16 | 222 17 | pbx-username 18 | Pa$$w0rd 19 | *55 20 | 21 | All other settings can be ignored for the purpose of the inital configuration. You must change every occurance of the above settings throughout the configuration file. 22 | 23 | ### Firmware Versions and Upgrading 24 | 25 | The firmware version that has been tested for these configuration files is `SIP11.9-4-2SR1-1S`. You can download the firmware files directly from Cisco - you will need to register for a free account. At the time of writing the link for the firmware files is [here](https://software.cisco.com/download/release.html?mdfid=280607214&softwareid=282074288&os=&release=9.4(2)SR3&relind=AVAILABLE&rellifecycle=&reltype=latest&i=!pp), however, I have included the firmware files in this repository for reference. 26 | 27 | ### Dialplan 28 | 29 | The included `dialplan.xml` gives some examples available. The dialplan file tells the handset how long to pause before dialling a number once it has been entered. 30 | 31 | ### Ringtones 32 | 33 | I have included a `ringlist.xml` file as an example of how to add new ringtones to the handsets. If you monitor the TFTP server logs when navigating the handset menu and requesting a new background or ringtone, you will see which files the handset requests. This is very useful when setting up the TFTP file structure. 34 | 35 | When including ringtone .raw files, it's simplest to include them in the root directory of the TFTP server along with the firmware and configuration files. 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /SEP000000000000.cnf.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SIP 4 | abc 5 | 123 6 | 1 7 | true 8 | 16399 9 | 5061 10 | true 11 | 0 12 | false 13 | 14 | 15 | D/M/YA 16 | GMT Standard/Daylight Time 17 | 18 | 19 | time.aa.net.uk 20 | Unicast 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | sip.provider.com 29 | 30 | 5060 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | dialplan.xml 39 | 1 40 | false 41 | true 42 | false 43 | false 44 | 101 45 | 3 46 | avt 47 | false 48 | false 49 | 3 50 | true 51 | 123.123.123.123 52 | 222 53 | 1 54 | false 55 | 15000 56 | 10 57 | false 58 | 16384 59 | 32766 60 | 5060 61 | 184 62 | 0 63 | 64 | 65 | 66 | 67 | 68 | 5060 69 | sip.provider.com 70 | 5060 71 | 72 | 5060 73 | true 74 | 75 | 76 | true 77 | x-cisco-serviceuri-cfwdall 78 | x-cisco-serviceuri-pickup 79 | x-cisco-serviceuri-opickup 80 | x-cisco-serviceuri-gpickup 81 | x-cisco-serviceuri-meetme 82 | x-cisco-serviceuri-abbrdial 83 | false 84 | 2 85 | true 86 | true 87 | 2 88 | 2 89 | 0 90 | true 91 | 92 | 93 | 6 94 | 10 95 | 180 96 | 60 97 | 5 98 | 120 99 | 120 100 | 5 101 | 500 102 | 4000 103 | 70 104 | true 105 | None 106 | 107 | 108 | 109 | 110 | 9 111 | 222 112 | USECALLMANAGER 113 | 5060 114 | pbx-username 115 | pbx-username 116 | 3 117 | pbx-username 118 | Pa$$w0rd 119 | false 120 | 3 121 | *55 122 | 4 123 | 5 124 | pbx-username 125 | 126 | 127 | 128 | 129 | 2 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | true 139 | 2 140 | 141 | 142 | false 143 | false 144 | 0 145 | 1 146 | 0 147 | 0 148 | 1 149 | 0 150 | 0 151 | 152 | 00:00 153 | 23:59 154 | 00:10 155 | 1 156 | 157 | 158 | English_United_Kingdom 159 | 160 | en_US 161 | 1.0.0.0-1 162 | iso-8859-1 163 | 164 | 165 | 166 | 167 | 1.0.0.0-1 168 | 169 | 170 | 171 | 3804 172 | 173 | 174 | 175 | -------------------------------------------------------------------------------- /SIP11.9-4-2SR1-1S.loads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/SIP11.9-4-2SR1-1S.loads -------------------------------------------------------------------------------- /apps11.9-4-2ES9.sbn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/apps11.9-4-2ES9.sbn -------------------------------------------------------------------------------- /cnu11.9-4-2ES9.sbn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/cnu11.9-4-2ES9.sbn -------------------------------------------------------------------------------- /copstart.py: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2005,2008 Cisco Systems Inc. All rights 3 | # reserved. 4 | # 5 | # ###################################################################### 6 | # 7 | # copstart.py 8 | # 9 | # This script will install the firmware and device defaults 10 | # 11 | # SYNOPSIS 12 | # python copstart.py 13 | # 14 | # created: 2007-10-29 15 | # author: Mahesh Gopalakrishna Pai R (mapai@cisco.com) 16 | # ###################################################################### 17 | 18 | import os 19 | import sys 20 | import socket 21 | 22 | # 23 | # Checking parameters 24 | # 25 | if len(sys.argv) < 2: 26 | CONTEXT="options" 27 | else: 28 | CONTEXT=sys.argv[1] 29 | 30 | if len(sys.argv) < 3: 31 | LOGFILE="install.log" 32 | else: 33 | LOGFILE=sys.argv[2] 34 | 35 | # 36 | # Set some env variables 37 | # 38 | # Context will be either options (default), install or L2 39 | # 40 | TMPDIR="C:\\cisco\\common\\download" 41 | TFTPDIR="C:\\Cisco\\cm\\tftp" 42 | LOADINFODIR="C:\\Cisco\\cm\\db\\loadinfo" 43 | INSTALLDB="C:\\Cisco\\cm\\bin\\installdb" 44 | 45 | ##### Executes commands 46 | def syscmd(cmd): 47 | rc = os.system(cmd) 48 | os.system("echo Executing [%s]" % cmd) 49 | if rc != 0: 50 | os.system("echo Error executing [%s] returned [%s]" % (cmd, rc)) 51 | return rc 52 | 53 | # 54 | # Change permissions and copy files 55 | # 56 | syscmd("echo Installing *.sbn, *.loads and load info files") 57 | 58 | # Permissions 59 | ACL_PATH=TMPDIR + "\\*.sbn" 60 | print ('Setting ACLs for "%s"' % ACL_PATH) 61 | syscmd('cmcacls "%s" /T /C /E /P ctftp:F ' % (ACL_PATH)) 62 | syscmd('cmcacls "%s" /T /C /E /P database:F ' % (ACL_PATH)) 63 | syscmd('cmcacls "%s" /T /C /E /P ccmbase-group:F ' % (ACL_PATH)) 64 | 65 | ACL_PATH=TMPDIR + "\\*.loads" 66 | print ('Setting ACLs for "%s"' % ACL_PATH) 67 | syscmd('cmcacls "%s" /T /C /E /P ctftp:F ' % (ACL_PATH)) 68 | syscmd('cmcacls "%s" /T /C /E /P database:F ' % (ACL_PATH)) 69 | syscmd('cmcacls "%s" /T /C /E /P ccmbase-group:F ' % (ACL_PATH)) 70 | 71 | ACL_PATH=TMPDIR + "\\*.txt" 72 | print ('Setting ACLs for "%s"' % ACL_PATH) 73 | syscmd('cmcacls "%s" /T /C /E /P administrator:F ' % (ACL_PATH)) 74 | syscmd('cmcacls "%s" /T /C /E /P administrators:F ' % (ACL_PATH)) 75 | 76 | # Copy Files 77 | syscmd("copy /y " + TMPDIR + "\\*.txt " + LOADINFODIR + "\\") 78 | syscmd("copy /y " + TMPDIR + "\\*.sbn " + TFTPDIR + "\\") 79 | syscmd("copy /y " + TMPDIR + "\\*.loads " + TFTPDIR + "\\") 80 | 81 | # 82 | # Remove any old TERMxx.DEFAULT.loads files 83 | # 84 | syscmd("echo Cleaning up TERMxx.DEFAULT.loads files...") 85 | fileList = os.popen("dir /b %s\\term*.default.loads" %(TMPDIR)) 86 | while 1: 87 | fileName = fileList.readline() 88 | if not fileName: 89 | break 90 | model=fileName.upper().split("M")[1].split(".")[0].strip() 91 | syscmd("del /f " + TFTPDIR + "\\TERM" + model + ".DEFAULT.loads") 92 | 93 | # 94 | # Update the device defaults 95 | # 96 | syscmd("echo Updating device defaults...") 97 | syscmd("echo from load files in " + TMPDIR) 98 | 99 | # Context equals 'L2', 'options' or 'install' 100 | if CONTEXT != "L2": 101 | syscmd("echo Updating device defaults for non-L2") 102 | L2_OPT="" 103 | else: 104 | syscmd("echo Updating device defaults for L2") 105 | L2_OPT=L2 106 | 107 | fileList = os.popen("dir /b " + TMPDIR + "\\*.txt") 108 | exitCode=0 109 | while 1: 110 | fileName = fileList.readline() 111 | if not fileName: 112 | break 113 | rc=syscmd("C:\\INFORMIX\\" + socket.gethostname().replace('-','_') + "_ccm.cmd && " + INSTALLDB + " -l " + TMPDIR + "\\" + fileName ) 114 | if rc != 0: 115 | exitCode=rc 116 | 117 | sys.exit(exitCode) 118 | 119 | -------------------------------------------------------------------------------- /copstart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # copstart.sh 4 | # 5 | # This script will install the firmware and device defaults 6 | # 7 | # SYNOPSIS 8 | # copstart.sh 9 | # 10 | # turn it on for debug 11 | #set x 12 | 13 | # 14 | # Checking parameters 15 | # 16 | if [ $# -lt 1 ] 17 | then 18 | CONTEXT="options" 19 | else 20 | CONTEXT=$1 21 | fi 22 | # 23 | # Set some env variables 24 | # 25 | # Context will be either options (default), install or L2 26 | # 27 | TMPDIR=`pwd` 28 | LOGFILE=${TMPDIR}/install.log 29 | TFTPDIR=/usr/local/cm/tftp 30 | LOADINFODIR=/usr/local/cm/db/loadinfo 31 | INSTALLDB=/usr/local/cm/bin/installdb 32 | 33 | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cm/lib 34 | export LD_LIBRARY_PATH 35 | 36 | # 37 | # Copy files and change permissions 38 | # 39 | echo "Installing *.sbn, *.loads and load info files" > ${LOGFILE} 40 | /bin/chmod 770 ${TMPDIR}/*.txt ${TMPDIR}/*.sbn ${TMPDIR}/*.loads 41 | 42 | /bin/chown ctftp ${TMPDIR}/*.sbn ${TMPDIR}/*.loads 43 | /bin/chown database ${TMPDIR}/*.txt 44 | 45 | /bin/chgrp ccmbase ${TMPDIR}/*.txt ${TMPDIR}/*.loads ${TMPDIR}/*.sbn 46 | 47 | /bin/cp -fp ${TMPDIR}/*.txt ${LOADINFODIR}/ 48 | /bin/cp -fp ${TMPDIR}/*.sbn ${TFTPDIR}/ 49 | /bin/cp -fp ${TMPDIR}/*.loads ${TFTPDIR}/ 50 | 51 | # 52 | # Remove any old TERMxx.DEFAULT.loads files 53 | # 54 | echo "Cleaning up TERMxx.DEFAULT.loads files..." >> ${LOGFILE} 55 | term_default_files="`/bin/ls term*.default.loads`" 56 | for term_default_file in $term_default_files 57 | do 58 | model="`echo $term_default_file | /bin/cut -c5- | /bin/cut -d. -f1`" 59 | /bin/rm -f ${TFTPDIR}/TERM$model.DEFAULT.loads 60 | done 61 | 62 | # 63 | # Update the device defaults 64 | # 65 | echo "Updating device defaults..." >> ${LOGFILE} 66 | echo "from load files in ${TMPDIR}" >> ${LOGFILE} 67 | load_files="`/bin/ls ${TMPDIR}/*.txt`"; 68 | 69 | # Context equals 'L2', 'options' or 'install' 70 | if [ ${CONTEXT} != "L2" ] 71 | then 72 | echo "Updating device defaults for non-L2" >> ${LOGFILE} 73 | L2_OPT= 74 | else 75 | echo "Updating device defaults for L2" >> ${LOGFILE} 76 | L2_OPT=L2 77 | fi 78 | for load_file in $load_files 79 | do 80 | /bin/su -l informix -s /bin/sh -c "source /usr/local/cm/db/dblenv.bash /usr/local/cm ; source /usr/local/cm/db/informix/local/ids.env ${L2_OPT}; $INSTALLDB -l $load_file" >> ${LOGFILE} 81 | done 82 | exit 0 83 | 84 | -------------------------------------------------------------------------------- /cvm11sip.9-4-2ES9.sbn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannymcc/Cisco-7906G-SIP/6304ff0f156c2a6bffff95119f4687a31c088d37/cvm11sip.9-4-2ES9.sbn -------------------------------------------------------------------------------- /dialplan.xml: -------------------------------------------------------------------------------- 1 | 2 |