Prophecy 9.0 Development Guide Home  |  Frameset Home

  Connecting via a SIP Gateway  |  TOC  |  Connecting via Analog Phone Lines  

Configuring Cisco 2800 Series ISRs

The Cisco 2800 Series ISRs are the gateway between the Prophecy system and the public switched telephone network (PSTN). This section explains how to install and configure the supported Cisco 2800 Series ISRs to work with Prophecy.

Important: This section does not replace the Cisco documentation or support. It contains the information you need to configure your Cisco router to work with Prophecy.

This section includes the following topics:

Step 1 - Connect the router

After you make all the power connections for the router, you connect it to your WAN or LAN, and voice systems.  Make the following connections:
Note: The turnkey Fusion servers do not have a serial port; you can either buy a serial adapter or use a rollover cable if you want to connect to the Cisco via the Fusion server.

Step 2 - Configure the router

You can configure your router using either the command-line interface (CLI) or the Cisco Router and Security Device Manager (SDM) web interface.

To use the CLI:

To use the web interface:

Once logged in follow these steps. These instructions use the CLI.
1. At the fusiongateway> prompt, type:

enable

2. You are prompted for the password. Type:

voxeo
The default password for all Voxeo products is voxeo.

3. Once in enable mode you will want to move into configuration mode. Type:

conf term

4. Move to the outside interface you want to configure. Type:

int fa0/0
(Or, fa0/1)

5. Add the IP address and subnet. For example, type:

ip addr 172.16.97.123 255.255.0.0

6. Exit out to the basic mode by typing end or exit.

7. Now, turn the slot on. Type:

sh run | begin interface Fast

8. Verify that everything is working correctly. From the console, try to ping an IP on your network.  For example, type:

ping 172.16.66.134

A successful result will look like this:

!!!!!

Step 3 - Point the router to your Prophecy server

The next part of the setup process is pointing the Cisco to your Prophecy server. Be sure your Cisco router is connected to your network and that the T1 line(s) are plugged in.

These instructions use the CLI.

1. Sign in to configuration mode.  Type:

conf term

2. Type:

dial-peer voice 100 voip

3. Point the Cisco ISR to the Prophecy server.  Type:

session target ipv4:<iIP of the Prophecy box</i

For example:
session target ipv4:172.16.99.13

4. Place a test call

If the call is successful, make your changes permanent.

5. Exit out to the basic mode by typing end or exit.

6. Now, make the changes permanent.  Type:
write mem

Cisco CLI Commands

The following commands are commonly used in the command line interface.
Command Description
conf t Edit the configuration
debug ccsip messages Show SIP messages
debug isdn Q931 Show ISDN messages
show call active Show the current active calls
show call history Show the call history for the last 15 minutes
show isdn status Shows information about any T1 lines connected. Layer 1 will show as "ACTIVE" if the Cisco is getting signaling and "DEACTIVE" if the Cisco is not receiving a signal.
show proc cpu history Show the processor history
show run Show the running (currently active) configuration
term mon Open monitoring terminal to view debug messages


Sample Configuration Files


Cisco 2811 Configuration File

The following Cisco 2811 configuration file shows the default configuration for Prophecy. It was captured using the show run command explained previously. The key items are voice-card (identifies the card) and voice-port (identifies each of the router's voice ports).


Current configuration : 4200 bytes
!
version 12.3
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname fusiongateway
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
security passwords min-length 5
no logging buffered
enable secret 5 $1$IBqL$318RZ4U53mnHHaBoPGlPZ0
!
clock timezone PCTime -5
clock summer-time PCTime date Apr 6 2003 2:00 Oct 26 2003 2:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
aaa new-model
!
!
aaa session-id common
ip subnet-zero
no ip source-route
ip cef
!
!
ip tcp synwait-time 10
!
!
no ip bootp server
ip name-server 4.2.2.1
ip name-server 4.2.2.2
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
no ftp-server write-enable
!
voice-card 0
!
!
voice call carrier capacity active
!
voice service pots
!
!
voice class codec 1
codec preference 1 g711ulaw
!
!
!
voice class h323 1
h225 timeout tcp establish 2
!
!
!
username admin privilege 15 secret 5 $1$7fvF$NthVyWnrc9Bv0i06S79jm1
!
!
!
interface Null0
no ip unreachables
!
interface FastEthernet0/0
description Fast Ethernet 0/0
ip address 10.10.20.155 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.20.254
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
!
!
control-plane
!
!
voice-port 0/1/0
output attenuation 6
echo-cancel coverage 32
no non-linear
playout-delay maximum 120
playout-delay nominal 100
playout-delay mode fixed
no comfort-noise
timeouts call-disconnect 3
connection plar 1234567890
description THE CONNECTION PLAR WAS ESSENTIAL TO AVOID TWO STAGE DIALING
bearer-cap Speech
!
voice-port 0/1/1
output attenuation 6
echo-cancel coverage 32
no non-linear
playout-delay maximum 120
playout-delay nominal 100
playout-delay mode fixed
no comfort-noise
timeouts call-disconnect 3
connection plar 1234567890
description THE CONNECTION PLAR WAS ESSENTIAL TO AVOID TWO STAGE DIALING
bearer-cap Speech
!
voice-port 0/1/2
output attenuation 6
echo-cancel coverage 32
no non-linear
playout-delay maximum 120
playout-delay nominal 100
playout-delay mode fixed
no comfort-noise
timeouts call-disconnect 3
connection plar 1234567890
description THE CONNECTION PLAR WAS ESSENTIAL TO AVOID TWO STAGE DIALING

!
voice-port 0/1/3
output attenuation 6
echo-cancel coverage 32
no non-linear
playout-delay maximum 120
playout-delay nominal 100
playout-delay mode fixed
no comfort-noise
timeouts call-disconnect 3
connection plar 1234567890
description THE CONNECTION PLAR WAS ESSENTIAL TO AVOID TWO STAGE DIALING
bearer-cap Speech
!
!
dial-peer voice 10 pots
destination-pattern 9.
direct-inward-dial
port 0/1/0
!
dial-peer voice 100 voip
destination-pattern .
session protocol sipv2
session target ipv4:10.10.20.154
dtmf-relay rtp-nte
codec g711ulaw bytes 240
ip qos dscp cs5 media
no vad
!
dial-peer voice 99999 voip
session protocol sipv2
incoming called-number 9.
dtmf-relay rtp-nte
codec g711ulaw bytes 240
ip qos dscp cs5 media
no vad
!
dial-peer voice 11 pots
destination-pattern 9.
direct-inward-dial
port 0/1/1
!
dial-peer voice 12 pots
destination-pattern 9.
direct-inward-dial
port 0/1/2
!
dial-peer voice 13 pots
destination-pattern 9.
direct-inward-dial
port 0/1/3
!
gateway
timer receive-rtp 1200
!
sip-ua
set pstn-cause 8 sip-status 404
set pstn-cause 16 sip-status 486
set pstn-cause 101 sip-status 501
retry invite 2
retry response 2
retry bye 2
retry cancel 2
timers trying 1000
timers connect 1000
!
banner login ^CAuthorized access only!
Disconnect IMMEDIATELY if you are not an authorized user!^C
!
line con 0
transport output telnet
line aux 0
transport output telnet
line vty 0 4
privilege level 15
transport input telnet ssh
line vty 5 15
privilege level 15
transport input telnet ssh
!
scheduler allocate 20000 1000
end

fusiongateway#




Cisco 2800 Series Integrated Services Router


The Cisco 2800 series router is the gateway between the public switched telephone network (PSTN) and your servers.
Configuration

To physically connect your Cisco Router to your network please make the following connections.


1) Connect your network to the slot labeled fa0/0
2) Connect the T1 line that is for calls to the card located in “slot 1”
3) The serial cable connection is located on the left side of the router, above fa0/0.  It will be labeled “Serial” or “Console”
a. Please note that Turnkey Fusion servers do not have a serial port, you can either buy a serial adapter or use a rollover cable if you want to connect to the Cisco via the Fusion server.

Setup


The Cisco router can be configured using the command line interface (CLI) or the Cisco Router and Security Device Manager (SDM) web interface. To use the command line interface, connect the blue console cable to a serial port on your computer and the console port of the router. Connect using a terminal program such as Hyperterminal using 9600 bits per second, 8 data bits, and no parity.
To use the web interface, disable any active pop-up blockers and connect to http://1.1.1.1/, where 1.1.1.1 is the IP address of your router.

To set the IP of your Cisco you will want to first connect the serial cable or log in via the web interface.  Once logged in please follow these easy steps.

1) You should be met with a fusiongateway> prompt. Please type: enable
              a. It should now ask you for the password. The default password for all Voxeo products is: voxeo
2) Once in enable mode you will want to move into configuration mode. Please type: conf term
3) Next you will want to move into the outside interface you want to configure.  Type: int fa0/0 (or 0/1)
4) Now its time to add the IP and subnet. Example: ip addr 172.16.97.123 255.255.0.0
5) Exit out to the basic mode by typing end or exit.
6) Now its time to turn that slot on. Type: sh run | begin interface Fast
7) Next you will want to test that everything is working right. Please try to Ping something on your network.  Example: ping 172.16.66.134
              a. A successful result will look like this: !!!!!

The other important part of the setup process involves pointing the Cisco to your Prophecy server.  Please be sure to have your network plugged into your Cisco and the T1 line also plugged in.

1) First you will need to log into configuration mode. Type: conf term
2) Next you will need to type: dial-peer voice 100 voip
3) Point the Cisco to the Prophecy server by typing: session target ipv4:<IP of the Prophecy box>. Example: session target ipv4:172.16.99.13
4) Place a test call
5) Once you have everything working please type eixt (or end) back out to the enable prompt.  Once there please type: write mem
              a. This will make your changes permanent


Usage


The following commands are commonly used in the command line interface:

show call active
Show the current active calls

show call history
Show the call history for the last 15 minutes

show proc cpu history
Show the processor history

show run
Show the running configuration

conf t
Edit the configuration

term mon
Opens monitoring terminals to view debug messages

debug isdn Q931
Show ISDN messages

debug ccsip messages
Show SIP messages

Show isdn status
Shows information about any T1 lines connected. Layer 1 which will show as "ACTIVE" if the Cisco is getting signaling, to "DEACTIVE" if the Cisco is not even receiving a signal.




  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login
  Connecting via a SIP Gateway  |  TOC  |  Connecting via Analog Phone Lines  

© 2011 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site