Welcome back.
In this section we're going to look at Dial is and the Cisco Unified Communications Manager express
initial configuration.
I'd like to show you how to set up adult is.
And I'd like to show you how to set up iPhone designs iPhones and the telephony service which are required
to connect IP phones to see you see them running on a Cisco Radha so I'd like to show you how to setup
both pots Donald Piers and VoIP doll Piers.
And once again I'd like to show you how to set up the telephony service e phones and even DNS to allow
Cisco IP phones to register to function with a Cisco Radha so we're going to be working on Cisco routers
that have the Cisco Iowa's telephony service available in the IOW multiple routers support to you them
but in this example I'm going to use a U.S. 520 for an initial basic demonstration.
So I've got two analog phones connected to affix esports on the U.S. 500.
I'm going to allocate a number of 1000 to one of the phones and 1001 to the other phone so on the U.S.
500 I top the command show version.
It shows me that I am using a U.S. five twenty eight U for ethics O K 9 device
this U.S. 500 has 10 Fost Ethan it interfaces.
The great thing about the U.S. 500 is it's a rather a switch a firewall a voicemail system a router
and a whole bunch of other things in a single device.
So these ports provide inline power to Cisco IP phones and I'll demonstrate that in a moment.
It has four effect so ports for ethics exports.
It even has a music on hold interface which will allow you to connect an iPod or C.D. player directly
to the U.S. 500 to stream music to the IP phones analog phones and people calling in from the PSTN.
It also has a Cisco service engine which is unity Express or the voice messaging system that runs internally
on a Linux platform within the U.S. 500 to demonstrate once again that you do not see big chords when
tapping the command show IP interface brief
notice in this output that receive VLAN numbers.
We see fast Ethan interfaces we see the interface to the integrated services engine that we do not see
any ethics supports or ethics sports but typing the commands show and voice code summary will allow
me to see the Vic or voice interface cards installed on this rather or in this case on the U.S. 500
so you can see here we have four if access ports.
Notice f access we have for if X O ports at the moment if access ports are on hook and so are the effects
of ports now rather than tracing cables.
I'm just gonna go or fuck on one of the analog phones and we can top the command again.
So going off work on one of the phones and topping the come on again shows me that that Porter's or
hook I'll go back on hook and notice the port is back on hook.
Doing that again go fuck.
You can see it or hook go on hook and you can see the port is on hook.
I can do the same thing with the other phone so I've gone off the hook and notice the port is showing
or hook or go back on hook.
And notice the port is on hook so I'm able to see that my first phone is connected to port 0 slash serious
slash 0 and the second phone is connected to zero slash zero slash one notice.
Zero zero zero zero zero one.
Now the phones won't be able to dial any numbers because we haven't configured a double plan topping
the command show dial dash peer voice summary will allow me to see my doll plan and notice below these
headings nothing is displayed.
So what I'm going to do is I'm going to go into global config mode and then I'm going to top the command
dial dash pier and specify voice.
And notice it allows me to specify.
Tag now the tag is just a unique identifier for this specific doll.
Here you can choose any number in that range.
It's just a unique identifier for this specific tulpa.
The two options here that we concerned with are pots and VoIP so this is a plain old telephone system
telephone.
In other words just an analog phone.
So I'm going to specify parts.
Now please be away.
Potts isn't just analog any traditional interface so analog interfaces such as f access if XO and ESM
are referenced by the pots keyword but so are digital interfaces such as E ones t ones.
P arise be our eyes and so forth.
I'm going to specify parts I'm now in doll peer configuration mode I'm going to populate the dull plan
table by specifying the command destination pattern and then specifying a sequence of digits.
So my first phone has a number of 1000 so I'm gonna specify that number I have to tell the Rada which
port to forward a call out of if it arrives with a destination address of 1000.
So I'm going to specify port 0 slash Sarah slash 0.
Now topping the command show dial DSP a voice summary shows me that I now have an entry tag one is the
DLP number that we used Potts is the technology that we used a destination pattern is 1000 and the call
will be sent to Port 0 slash 0 slash to 0.
I could do the same thing for the second phone so I could create another adult here.
Let's say adult here too.
That's Potts because this is also an analogue phone.
And then I could specify destination pattern 1001 and then specify the port in this case it's zero slash
zero slash one
show.
Dial the command show dial dash peer voice summary.
Now shows me that I have two entries are really great command and the Cisco Iris is a command called
C some will CSI I am space start.
And then you specify a telephone number.
This is a hidden command and the Cisco Io ways that allows you to specify a number that the router should
call.
So I'm going to tell the router to phone 1000
and as you can hear there the phone is ringing.
So I'm just gonna kill the call.
You have to answer the call and then drop the call.
You won't hear anything but you need to answer the call and disconnected.
Otherwise you'll have to wait for a timeout which could be something like 180 seconds before that phone
stops ringing.
Can the one phone call the other phone.
So I'm gonna go off fuck on 1000 and I'm going to dial 1000 and 1
and as you can hear there the phone is ringing and I could go off hook and answer that call
I'll just demonstrate that again the command show voice port summary shows me that both ports are on
hook.
Notice yeah go fuck on the first phone.
Notice it says oh fuck I'll dial the number
notice the first phone is off hook.
The second phone is on hook but is ringing I'll answer that call and notice now they are both off hook.
I'll disconnect the call by going on hook on one of the phones.
Topping the command again shows me that the phone is gone on hook and the second one is through.
Hook.
I'll put the phone down.
And you'll notice both are now on hook.
Another useful command to use is show a voice call summary as you can see here both if access ports
on hook.
I'll go off hook and you can see that the port is or hook.
You can see it's also waiting for digits are dollar digits.
You can hear the other phone ringing and you can see that the first phone is receiving a preceding message
and the second one is waiting for hook.
I'll go off hook and you'll notice that the call has been connected.
This allows you to see the states that we spoke about previously now let's extend this topology.
I'm gonna connect the U.S. 500 using one of its effects O ports to the PSTN and I'm gonna see if I can
make a call to my Blackberry from one of these analog phones.
So on the U.S. 500 topping the command showed dial dash peer voice summary shows me that I currently
only have two DOL peers for the two analog phones going into global configuration mode.
I can create another dial here so dial dash peer voice 3 pots.
Destination pattern and in this case let's specify that a 9 is required to dial an outside line.
Now I can use various wildcards a t means any number of digits.
The issue with that is the only way the rocker will know that you finish dialing is it will either have
to wait for the inter digit timeout which is 10 seconds by default.
So in other words it will wait for 10 seconds.
And if you haven't called another digit it will set up a call immediately or you'll need to hit the
hash key or pound key to terminate the entire digit timeout.
You can specify periods or dots which represent a single character and you would enter the number of
dots as is required by your numbering plan depending where you on the world.
So I'm just going to specify T and then I'll hit the pound key or hash key to terminate the into digit
timeout.
I need to tell the writer to send any calls starting with 9 and any other digits to the first.
If x 0 Port says in case you can't remember I can top that come on do show voice port summary which
shows me that my first effects O port is Port 0 1 0 so I can specify port 0 slash 1 slash 0 so I'll
just show you the full configuration so do show run pipe again dial dash Pier which allows me to pass
the running configuration so I don't have to hit spacebar multiple times and as you can see here I have
three ports stop is now on Port stop is specific digits are stripped and wild card bits are forwarded
by default.
Basically what that means is if I dial for instance 9 1 2 3 only 1 2 3 will be forwarded to the PSTN
9 because it's matching the specific digit 9 is stripped but one 2 3 is not stripped because it's matching
the wild card so as another example if I had dialed 9 9 1 1 only 9 1 1 would be sent to the PSTN not
double 9 double 1 the first 9 is stripped because it matches the specific 9 in the destination pattern
so let's dial.
Firstly show voice port summary shows me that my analogue phone on Port 0 0 0 is on hook as well as
the ethics O port 0 1 0 is also on hook.
So going off hook on my analogue phone and then dialing the number 9 and then my cell phone number
and I'll hit hash
doing the command again shows me that my analogue phone is or hook.
But notice the effects Oh port it is also or hook and as you can hear they my cell phone is ringing
I'll just end the call
and as you can see here both ports are back on hook So topping the command show dial dash peer voice
summary shows me that I have configured to telephone numbers from my analogue phones as well as 90 which
allows me to send any numbers starting with 9 to the PSTN I have successfully configured this basic
setup
now to see the digits dialed in real time I can use the command debug VPN which means voice port module
and I can specify signal to see the signalling as I'm telling rating to this product going off topic
come on turn Mun so I can see the output so going Oh fuck
you can see that we were on hook it took too long they so I had to go back on hook.
I'll do that again
and then I'll dial the first digit a nine and as you can see they the rod is displaying the digit 9
as you can see they are $ 0.
Now don't particularly want everyone in the world to know my cell phone number so I'm just going to
car took too long there and noticed into digit timeout kicked in and has killed the call so I'll do
it again.
Go fuck Dial a 9
dollar zero
I'll just turn on off all these bugs.
Hit the pound key or hash key
as you can see there.
The ethics code and the ethics code or hook and as you can hear my cell phone is ringing
so the debug VPN signal command is great at seeing the digits dialed on analog ports now that we have
configured the U.S. 500 which is essentially Arata to LA calls between two analog phones connected to
ethics exports and to my cell phone on the PSTN using an ethics O port.
Let us look at VoIP is.