[[image:Gears.gif|40px|left]] Please feel free to contribute to the Configuration Example collection. You must log into DocWiki using your Cisco.com credentials before you can add content. Type the name of your Configuration Example into the box below using the following syntax:

The most simple setup will be if we register endpoing with full E164 number and GW with the tech prefix, chousen in a way it will allow dialing to PSTN without any number transformation.

+

-

Assume PSTN will requre 00 for international call, in this case we can use the following config on GK:

+

-

+

-

!

+

-

gatekeeper

+

-

zone local video-98 mappets.com 10.52.218.98

+

-

no use-proxy video-98 default inbound-to terminal

+

-

no use-proxy video-98 default outbound-from terminal

+

-

no shutdown

+

-

!

+

-

+

-

There is no need to configure zone prefixes as GW will register with the tech prefix.

+

-

And VT will register with the full E164 number, so GK will always be able to resolve the them to IP.

+

-

For VT we need to allow direct calls to / from H.323 GW, so we disabling proxy requirement.

+

-

+

-

The matching GW config will be:

+

-

+

-

!

+

-

interface FastEthernet0/0

+

-

ip address 10.52.218.91 255.255.255.0

+

-

h323-gateway voip interface

+

-

h323-gateway voip id video-98 ipaddr 10.52.218.98 1719

+

-

h323-gateway voip h323-id ios-91-to-98

+

-

h323-gateway voip tech-prefix 00

+

-

h323-gateway voip bind srcaddr 10.52.218.91

+

-

!

+

-

gateway

+

-

!

+

-

+

-

Next we can proceed with the H.320 video GW configuration.

+

-

+

-

1. Specify the card type you will have:

+

-

+

-

card type e1 1 1

+

-

+

-

2. As video calls are actually the DATA calls by the nature of video content, we need to ensure the clocking is configured corectcly:

+

-

+

-

network-clock-participate slot 1

+

-

network-clock-participate wic 1

+

-

! Choose the one which required by your hardware setup.

+

-

!

+

-

network-clock-select 1 E1 1/0

+

-

+

-

3. You will need to specify the ISDN switch type before you can proceed with PRI group config on the controller:

+

-

+

-

isdn switch-type primary-net5

+

-

+

-

4. The controller config is the same as for any PRI connection:

+

-

+

-

controller E1 1/0

+

-

pri-group timeslots 1-31

+

-

description >>>>> Test of NEW BT PRI ports - out 338898 *** <<<<<

+

-

!

+

-

+

-

5. Now we need to configure D-channel to accept / send Data calls:

+

-

+

-

!

+

-

interface Serial1/0:15

+

-

description >>>>> Test of NEW BT PRI ports - out 338898 *** <<<<<

+

-

no ip address

+

-

encapsulation hdlc

+

-

isdn switch-type primary-net5

+

-

isdn map address .* plan unknown type unknown

+

-

isdn negotiate-bchan resend-setup

+

-

isdn bchan-number-order ascending

+

-

isdn sending-complete

+

-

isdn integrate calltype all

+

-

no cdp enable

+

-

!

+

-

+

-

6. Now we can proceed with the preparation for the dial-peer config, first let define the codecs we will use on IP side.

+

-

Please keep in mind that GW will actually do the filtering of the codes it will announce to the endpoints on both sides.

+

-

+

-

!

+

-

voice class codec 1000

+

-

codec preference 1 g711ulaw

+

-

codec preference 2 g711alaw

+

-

codec preference 3 g728

+

-

codec preference 4 g722-64

+

-

codec preference 5 g722-56

+

-

codec preference 6 g722-48

+

-

video codec h261

+

-

video codec h263

+

-

video codec h263+

+

-

video codec h264

+

-

!

+

-

+

-

7. This part is required to accept the incoming video calls, we need to have to provide the secondary numbers to the calling party, so they can call us on that numbers to add more bandwidth to the video call, that numbers will be sent out during ISO 13871 bonding stage.

+

-

+

-

!

+

-

voice class called number pool 3151

+

-

index 1 315140 - 315149

+

-

+

-

8. Now we need to apply that pool to the voice port to activate it:

+

-

+

-

!

+

-

voice-port 1/0:15

+

-

voice-class called-number-pool 3151

+

-

!

+

-

+

-

9. Now we are ready to proceed with the dial-peer configuration we need 4 of them, two incoming and two outgoing.

+

-

It is possible to use one POTS dial-peer as incoming and outgoing at the same time, but we will provide config for two of them for the sake of clarity:

+

-

+

-

!

+

-

dial-peer voice 99 pots

+

-

description default incoming video dial-peer

+

-

information-type video

+

-

incoming called-number 313300

+

-

bandwidth maximum 384

+

-

direct-inward-dial

+

-

!

+

-

+

-

!

+

-

dial-peer voice 9001 pots

+

-

description default outgoing video dial-peer

+

-

destination-pattern 00

+

-

information-type video

+

-

bandwidth maximum 384

+

-

port 1/0:15

+

-

forward-digits all

+

-

!

+

-

+

-

10. here is the example of the VOIP dial-peer, now we configured it as both - incoming and outgoing:

There also some useful commands to add and they can be used on All routers in production as well:

+

-

+

-

+

-

service nagle

+

-

service tcp-keepalives-in

+

-

service tcp-keepalives-out

+

-

service timestamps debug datetime msec

+

-

service timestamps log datetime msec

+

-

+

-

!

+

-

logging message-counter syslog

+

-

logging queue-limit 100000

+

-

logging buffered 5000000

+

-

logging rate-limit 10000

+

-

no logging console

+

-

+

-

And some very useful aliases :)

+

-

+

-

!

+

-

alias exec c conf t

+

-

alias exec r sh run

+

-

alias exec i sh ip ro

+

-

alias exec ib sh ip int brie

+

-

alias exec gs show run | s gatekeeper

+

-

alias exec ge sho gatekeeper end

+

-

alias exec sg sho gatekeeper

+

-

alias exec rs sh run | s

+

-

alias exec ri sh run | i

+

-

alias exec rb sh run | b

+

-

alias exec dp sh run | be dial-p

+

-

!

+

-

+

-

Enjoy :)

+

Latest revision as of 12:28, 5 June 2010

Please feel free to contribute to the Configuration Example collection. You must log into DocWiki using your Cisco.com credentials before you can add content. Type the name of your Configuration Example into the box below using the following syntax: