Cisco 7965 VoIP Phone with Voip.ms

First you will need the SIP firmware for the phone, as they are supplied with SCCP firmware.
You can download a package I have built here. You can also download the latest version from the Cisco website, they are free and available with a standard Cisco website account.

You will also need a TFTP server that the phone can connect to, and if you do not force a TFTP server address into the phone your DHCP server will need to pass option 66 with the TFTP server IP address. Windows 2008 R2 DHCP options has this as 066 “Boot Server Host Name”.

Extract the zip file into your TFTP root directory and then edit the SEP#######.cnf.xml file, search for the word “FIXME” and read around those lines to fix and replace for your setup. Then rename the file to be the MAC address of the phone. Replace ######### with the MAC as the sample file has already.

You may wish to also edit the dialplan.xml file and set your area codes and other stuff.

The phone will boot up on the network, grab an IP address from your DHCP server, pull the TFTP server address from the DHCP options and then contact the TFTP server. It will pull the SEP#######.cnf.xml file that responds to the phones MAC address. After some reboots and firmware changes it should register to your SIP provider.

I have this all working for voip.ms. If you are behind a firewall you may have issues with NAT. I am using pfSense and have no issues. The phone has NAT turned off (in the config already) and voip.ms settings for the sub-account I am using has NAT set to ‘yes’.

Lots of info was found on the voip-info website.

By |August 4th, 2016|Categories: How To|Tags: , , , , |2 Comments

Google Voice using Asterisk

You will need a Google voice account to do this. You can get one for free by having a normal Google account, and visiting the Google Voice page.

The top most portion of this page: http://pbxinaflash.com/forum/showthread.php?t=10825 will help you setup the Google Voice portion on the Google side. Once you see the screen shots on that page, you can then use this configuration, or read up if you have their software to continue.

Just my working configuration files for using a google voice number on your asterisk server.

gtalk.conf


[general]
context=googlein
bindaddr=0.0.0.0
externip=xxx.xxx.xxx.xxx
;stunaddr=mystunserver.com
allowguest=yes

[guest]
disallow=all
allow=ulaw
connection=asterisk
context=googlein

jabber.conf


[general]
debug=no
autoprune=no
autoregister=yes
;collection_nodes=yes
;pubsub_autocreate=yes
;auth_policy=accept
;----------------------------------------------
[trunkname]
type=client
serverhost=talk.google.com
;pubsub_node=pubsub.astjab.org
username=username@gmail.com/Talk
secret=secretpassword
priority=1
port=5222
usetls=yes
usesasl=yes
;buddy=mogorman@astjab.org
;distribute_events=yes
status=Available
statusmessage="I am an Asterisk Server"
timeout=100
keepalive=yes

Add following block to extensions_custom.conf


[googlein]
exten => _[0-9a-z].