hello everybody welcome back to my
channel so here we have a Cisco 7940 2g
unified IP phone and in this video I'm
gonna be demonstrating to you how to
configure this thing on a third-party
system such as free PBX now before we
really jump into the video I need to say
some things well for one this is really
not the most recommended thing to do
because of this things age like these
are old IP phones like the 70 900 series
were like at least December 9 for
YouTube G was manufactured in like 2007
and considered end-of-life in 2016 so
these are considered legacy devices at
this point another thing is that these
things were ideally not supposed to be
used outside of Cisco's call manager and
used on other firmware besides the
skinny protocol firmware which is the
proprietary firmware for cisco call
manager and also comparing skinny
protocol for firmware to sip firm winner
yeah the skin pro the skinny protocol
firmware is like more stable offers more
features and all that stuff compared to
sip and Cisco probably did that on
purpose
because I mean they want your money they
want you to use their stuff yeah so in
order to get this thing working on a
third-party system such as free PBX you
need SIP firmware and you have to do
this by uploading it via a TFTP server
and TFTP stands for trivial File
Transfer Protocol and well when I've
been doing my research online it seems
that there lots of articles well I don't
know if I should say lots but several
articles and videos and such I'm trying
to explain how to do these but honestly
a majority of those things like
seemed to leave out things or had
incorrect information or was honestly
even a bit over complicated but I guess
even in today's day and age like people
still seem to be interested in
configuring these things on third-party
systems because probably a couple of
things so for one these things are
pretty inexpensive used like I got this
thing for like 15 bucks maybe even
twelve I don't know and another thing is
that these things have good build
quality to them like these do not feel
cheaply made at all and yeah they don't
they don't feel like they're gonna be
giving out anytime soon so yeah and some
info about sip as well since we're gonna
be using you sip firmware yeah sip is
the newer and more open standard
protocol compared to skinny protocol
well because yeah skinny is proprietary
to cisco comment or only anyway
yeah sip is newer and open standard like
for instance these newer Polycom vvx
phones use sip and even the newer cisco
phone models use sip as well such as the
7800 right here and the cisco spa series
right here like the spa series the spa
series uses sip out of the box really
and for the 7800 well you have to make
sure that you get the three pcc firmware
for these things and three BCC stands
for a third-party call control and
that's pretty self-explanatory these
things can be used outside of column and
editor on third-party IP pbx --is and it
therefore uses sip as well another thing
I should have mentioned about the
limitations about this old device is
that these older Cisco's semi 900 s do
not have a web interface for
configuration unlike its newer
alternatives like the 78 or the Cisco
spa
you have to the okay the only way to
configure this thing is via XML files in
which that you have to upload to the
phone using a TFTP server again and yeah
every time yet every time you make a
change to it
you have to be sure you poke it up to a
TFT TFTP server and upload the new file
to make sure it you know to make it
change and yeah it's not like if you
were to type in this phone's IP address
in a web browser that you'd be able to
find a web interface for this thing so
this thing is yeah kind of a pain of a
pain in the butt to do so just thought
I'd mention that to you before we really
get started all right so now let's get
started on the server side of things so
same as last time I'm running free PBX
in a virtual machine using VirtualBox
and go to a web browser right here and
this is my web interface of the of my
free PBX server so I have pre-made a few
extensions including the extension for
the Cisco 7940 2g so it's opened this up
so for this extension I'm using a Chan
legacy sip driver and not PJ sip and it
is using port 51 60 and about the secret
it can only be it care 8 characters
along and it must be numerical only so
for this case I just did one two three
four one two three four and voicemail is
enabled and require it from the same
extension now it's goes wide advanced
see here so nap mode needs to be set to
never the port stays at 5060 and qualify
is set to no and for send our PID that
needs to be set to send remote party ID
header
okay and then I think see here we go to
Chan yeah we go to asterisk sip settings
and we go to Chan legacy sip settings
all right so we ended okay so I that
needs to be set to no and we also need
to disable SRV lookups so when it right
here where it says enable SRV lookup set
that to no and honestly you should be
good to go on the server side of things
so now to start the configuration for
the phone itself you need to obtain sip
firmware since free PBX is a sip system
and really I just opened another tab and
googled Cisco's 79 42 G's sip firmware
download and well it was in the first
one but it was a second when I clicked
on so it takes you to the product on the
Cisco website and go to downloads and
then here right here sip
software and then all releases right
here so there you go these are the
different firmware versions for sip that
you can put on the 79 42 G and okay so
let's talk about the version I use let's
go version eight right here so I
actually used version a - five - 4s
firmware because that seems to be one of
the most stable ones and well even like
other IP pbx is such as three is such as
3cx
once you use a - five - 4s and yeah I've
even tested this myself and it works I
mean another thing about my research for
trying to configure this thing was yeah
the different sources were also like
leaving out what firmware to use or if
they did say the firmware it was
you know an older firmware or even like
just an overall different version
firmware and it just never seemed to
work but anyway I do know for sure that
this works I've tried it myself so yeah
and when you download it well you have
to be signed into an account but yeah
you can just make an account for free
and be able to download a majority of
these a majority of these software
versions for free so when you download
it yet so when you download it do not
download the one that says dot cop dot
that's G in make sure to just get the
one that says sip a - five - four zip
and yeah so another thing about these
Cisco phones or at least this particular
model being listed as end-of-life is
that when they were considered
end-of-life they basically just provided
a majority of these sip firmware
versions on their website and as long as
you have a free account yeah you can
download a majority these firmwares for
free no charge so at least we have that
so upon downloading those files from the
Cisco website you should get these
similar types of files and whatever
folder you told it to download into so
upon downloading those from our files
you'll get a bunch of SBN as being the
files and loads files so besides the
firmware files the other two main things
that you need to get this that you need
to get this working is the XML
configuration file right here and a dial
plan XML file and let's see for the
configuration XML file when you're done
editing it you need to be sure that you
save it as capital S EP and then right
after that with no spaces or anything
put the phone's MAC address and then dot
C and F dot xml to make it an XML
document and well as you're doing it in
Windows well let's let's actually do
this edit so it's so like if you go to
save it right here
save as be sure to save it dot CNF and
dot xml like this right here and make it
all files not dot txt or else that will
not save it right and they'll be
rejected by the phone yes
so anyway besides that it's actually
just so let's open this up just double
click it and it takes you to a browser
that just shows you what it looks like
so right here
so for the name section well actually
that's on board and that's just MTP but
well okay for this name section that's
that's right below the call manager
little section right here you put the
free PBX servers address so one time two
one six eight down one not 159 that's my
server sit port 51 60 said 251 Stacy
because we are using the channel legacy
sip driver in free PBX and that uses
fifty one sixty process no name same
thing free PBX server address let's see
here and then phone label right here put
I would just put something like the
extension number 103 and that will
appear at the top right corner of the
phone screen so here we have the section
four line button one so for feature
level
I just put Cisco seven nine four T 2g
name is the extension number 103 display
name same thing 103 at least in my case
contact is the extension number 103 port
5160 see here and then off name is 103
as well the extension number at least
I'm free PBX and off password is yeah
well it's the eight character password
since it can't take anything and larger
than that because of this things age and
just you just have to accept except of
limitations so just like as we configure
it in free PBX the auth password or the
secret is one two three four one two
three four and usually the extension
number in free PBX for voice man let's
start 97 so put that right there and
that looks good for a configuration file
when you are editing this configuration
file only alter anything that is
between is greater than and less than
sign because starting from the gritter
then or lesson signed and beyond is part
of the template and you do not want to
screw up the template itself or else the
whole file is rejected and it will
indicate errors in the TFTP server I
will also post a working template of
this file in a description I just so you
guys can get a working template of this
and this is just a more minimal template
as well it only has one line button on
it and stuff like that also here is a
dial plan file a file right here let's
actually click on that so this is what
my dial plan template looks like I will
also link this in the description and
yeah so once you dial a number it waits
it waits 2 seconds and then dials a
number and yeah you need a dial plan for
your phone to work properly or else when
you try to dial a number like it just
instantly gives you the reorder tone or
like the busy tone pretty much all right
so now that we have obtained all the
necessary files to get this working now
we can start setting up the TFTP server
but before we do that there are a few
things that we need to take care of so
for one need to be sure that every other
device except the Cisco phone and the
computer with TFTP is disconnected from
the switch this yellow one is a computer
right here for teh FTP and of course be
sure you're using even that to do this
but actually an exception for this would
be other IP phones it actually doesn't
really matter if they're plugged into
the switch to they won't really be
causing any problems because I've even
tried that for myself so anyway and this
white one is the router cable you
definitely don't want that plug in
that's gonna be causing problems and
the TFTP is gonna be giving you errors
such as message on unbound interface and
stuff like that so when we plug in the
cisco phone into the switch there's kind
of a quick timing event that we need to
do which is actually factory resetting
it and yeah I mean you got to do it
pretty fast as well so anyway let's plug
in the Cisco phone into this PA we
switch here and there you go it's
booting up hit the pound sign hold it
down and you'll see that the line keys
are flashing up and down now so now we
need to push one two three four five six
seven eight nine star zero bound and
there now you'll get a screen like this
that says upgrading and it is actually
looking for a TFTP server now so we are
all set there so now back to the
computer side of things we need this we
need to make sure the firewall is
disabled so just like open the search
bar type firewall and click on Windows
Firewall right here in the control panel
and yeah I mean these it needs to be all
turned off and you can do this by
clicking turn Windows Firewall on or off
and yeah just select these two options
right here and you're all set because
actually if you leave the firewall on it
will be causing problems and it'll give
you like a similar error like message on
Unbound interface bla bla bla so anyway
now to the Ethernet adapter side of
things I need to open network and
sharing center and when you do well
mine's disabled I need to rename it just
double click it
all right so it's enabled now we need to
go to Ethernet right here click
properties ipv4 and we need to use a
static IP of basically a gateway address
so from my case it's 192 168 dot 1.1 and
255 255 255 and 0 okay so we're all set
there close this all out and now we need
to actually open up the TFTP server
software so I use tftpd 64 by jounin so
let's go ahead and open that up all
right so we are in the TFTP software now
or the server software this is what it
looks like I just have a full screen so
anyway to get this working right we need
to change some settings within the
software so right down here click
settings and it brings up a menu right
here
so under the global tab we need to be
sure that we have TFTP server so you
have to be client syslog server and DHCP
server selected and let's see under TFTP
I don't think there's really that much I
think these are mostly just default
settings you can also change the base
directory but under DHCP they refuse
there are a few things that we need to
be sure we have in there so for the IP
pull start address I put one on to one
to sit one six eight dot one dot two
because I mean the Gateway is start 1.1
the size of the pool is something big
like 250 and yeah the least minute is
two thousand eight hundred and eighty
minutes so under and then under DHCP
options for the first box I put it in
dot one dot one again and second one 255
255 255 dot zero and I actually don't
use any additional option
either and yeah buying DHCP to this
address which is dumb or not one and I
think those are really the main settings
and that's menu that we need to do I
don't think there's really anything else
under syslog your DNS or anything so now
we need to be sure that we have the
correct directory selected so you can
change this by hitting the Browse button
right up here and well in my particular
case the folder I'm using for this one
is in the desktop so this is it right
here for 8 - 5 - 4s so select that so
now that is a directory it'll pull from
and therefore transfer the files to the
phone and yeah use the software to loop
back address as the interface and now
let's go to log viewer and then pretty
soon we'll start seeing some magic
happen
yep you can see some stuff happening in
the log viewer right here stuff is
happening it's not read eh TV stuff okay
now it's actually transferring files and
if you look at the phone right now you
see a bunch of boxes and you actually
see a percentage of progress so that
means this is working right and you see
boxes are getting checked off as well so
this is a good sign as working and
you'll see there's actually a bunch of
activity within the switch as well as in
the status lights flickering very
rapidly
alright it looks like it's actually done
it's actually yeah the boxes are shading
in that's also a good sign it's doing
something and there you go
we even have a check mark as well that's
a good sign and something else I need to
mention is that well when it starts
working as in like when it says when it
says it's going to start registering
that's when I'll then proceed to close
out the TFTP software and reconnect the
router cable or really the cable that's
going to the other switch which then
goes to another switch and that's which
has a router plugged into it and that's
also where the free PBX servers Ethan
that cables plug into
and there's a there's gonna be more
files I say that's not gonna send and
it's gonna give you some errors on some
of them because like soft keys and the
ringtones and all that and TLV files
those are not important okay so it's
registering now that's good so now close
out TFTP and I think it's sent the last
one like soft keys XML yeah I did close
it out and now we're gonna reconnect the
other switch cable which therefore goes
to the PBX server in really the router
and yeah it's gonna start configuring
its IP again because you just
reconnected it to like an actual network
so it needs a real IP address unlike
what TFTP gave it because I mean that
was just basically replicating a DHCP
server but now it's actually connected
to real DHCP sorry DHCP
yeah might be a little sluggish at times
once again it's old it just takes time
to figure out some stuff
and boom it right it just registered
just like that you'll know it registered
right when you don't see an X next to
the phone symbol which is right next to
the label and it says your current
options and obviously you'll know it
registered if you push the line key or
speakerphone and you get a dial tone so
now that this thing just registered
properly let's actually test it out
so attach speakerphone and one of the
extensions that I have on free PBX is
101 come on so that is working properly
check one two three check there check
one two three check check this is
working properly let's push hold now on
this phone excuse the focusing there
push hold
[Music]
[Music]
it seems to work right 1 2 3 so that
seems to be working right and now
actually let's do it the other way
around so let's go to this spa phone
which is also dual registered to free
PBX
which is a second line key and let's
dial the Cisco Cisco phones extension
the 7900 so that was 103
[Music]
check one two three this is a test one
two three tractor truck so it is working
both ways and now let's actually well
let's go back over here and call it
again but this time not answer and leave
a message for it zero three is
unavailable please leave your message
after the tone
when done hang up or press the pound key
this is a test message one two three
four five six testing one two three
and boom it has received a voicemail and
you can tell when the handset is lit up
solid red
so now let's test out the voicemail
button in which we told it to go to a
star 97 when we push this button
password that is working you have one
new message press 1 for new that first
message this is a test message 1 2 3 4 5
6
testing 1 2 3 press 3 for Advanced
Options press 5 to repeat the current
message press 7 to delete this message
message deleted
no more messages goodbye alright so it
is working properly so from the
dashboard if we click applications and
we go to paging and intercom right over
here I have actually sub a page group as
well extension 300 and if we look at it
let's see here yeah the other phones I
have that I have on the server are
configured as that paging group so
basically these other two phones right
here so anyway let's go to this phone
over here hit speakerphone they'll focus
and hits 300 attention one two three
four
check one two three one two three Jeff
Jeff check one two three
so paging is working right and yeah I
just paged into both of these phones at
the same time and didn't like a paging
announcement and yeah that is just one
way audio so now if you want to like
intercom to an individual phone it's
like star yeah it start 80 and then that
extension number so let's do start 8101
hopefully you just heard that beep there
and it is actually two-way audio and
intercom calls hello check one two three
checked our check one two three
so basically I just intercom to sit into
that phone and the phone automatically
answered that call and put me to the
speakerphone so that's a pretty neat
feature and yeah alright everybody so
this has been a video over configuring
the Cisco 7940 2g on free PBX and this
method usually works for a majority of
other third party sip systems as well
and yeah this has been a long video to
probably but thank you all for watching
the video and you guys have a nice day