Sei sulla pagina 1di 4

PSTN to SIP Configuration

Subject: PSTN to SIP Configuration

List-id: Cisco VoIP list <cisco-voip.puck.nether.net>

Hello,

I am adding a VOICE gateway to my VOIP network so that I can get people who call a number on the
PSTN are routed to my SIP plat form via a Cisco AS5350.
Currently all I get is the usual modem handshake tone. I am using an ISDN line provided by my Telco.
My SIP platform is SER.
Since I need to get all calls to this number to be routed into the SIP platform I do not need any destination
patterns.
Below are details of my AS5350 and the current configuration
-------------------------------------------------------------------------------------------------

as5350#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 5350 Software (C5350-IS-M), Version 12.3(3g), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Fri 21-May-04 02:46 by kellythw
Image text-base: 0x6000895C, data-base: 0x61600000

ROM: System Bootstrap, Version 12.2(1r)1, RELEASE SOFTWARE (fc1)


BOOTLDR: 5350 Software (C5350-BOOT-M), Version 12.2(2)XB2, EARLY DEPLOYMENT RELEASE
SOFTWARE (fc1

as5350 uptime is 4 weeks, 5 days, 1 hour, 50 minutes


System returned to ROM by reload at 13:38:28 UTC Mon Feb 14 2000
System image file is "flash:c5350-is-mz.123-3g.bin "

cisco AS5350 (R7K) processor (revision T) with 262144K/131072K bytes of memory.


Processor board ID JAE0848157T
R7000 CPU at 250Mhz, Implementation 39, Rev 1.0, 256KB L2, 2048KB L3 Cache
Last reset from IOS reload
Channelized E1, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
Manufacture Cookie Info:
 EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x32,
 Board Hardware Version 3.34, Item Number 800-5171-02,
 Board Revision C0, Serial Number JAE0848157T,
 PLD/ISP Version 2.2,  Manufacture Date 24-Nov-2004.
Processor 0x14, MAC Address 0x012048EE60
Backplane HW Revision 1.0, Flash Type 5V
2 FastEthernet/IEEE 802.3 interface(s)
68 Serial network interface(s)
216 terminal line(s)
8 Channelized E1/PRI port(s)
512K bytes of non-volatile configuration memory.
65536K bytes of processor board System flash (Read/Write)
16384K bytes of processor board Boot flash (Read/Write)

Configuration register is 0x2102

Configurations

as5350#sh run
Building configuration...

Current configuration : 2894 bytes


!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname as5350
!
boot-start-marker
no boot startup-test
boot-end-marker
!
!
resource-pool disable
spe default-firmware spe-firmware-1
aaa new-model
!
!
aaa session-id common
ip subnet-zero
ip cef
!
isdn switch-type primary-net5
!
!
voice service voip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
 sip
!
voice class codec 1
 codec preference 1 g729r8
 codec preference 2 g723r53
 codec preference 3 g723r63
 codec preference 4 g711ulaw
 codec preference 5 g711alaw
 codec preference 6 g729br8
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
controller E1 3/0
!
controller E1 3/1
!
controller E1 3/2
 pri-group timeslots 1-31
 description PSTN Connectivity-TELCO
!
controller E1 3/3
 pri-group timeslots 1-31
 description PSTN 2 Connectivity-TELCO
!
controller E1 3/4
!
controller E1 3/5
!
controller E1 3/6
!
controller E1 3/7
!
!
interface FastEthernet0/0
 ip address 192.168.20.1 255.255.255.0
 no ip unreachables
 no ip proxy-arp
 ip route-cache policy
 no ip mroute-cache
 duplex auto
 speed auto
 no cdp enable
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0
 no ip address
 shutdown
 clockrate 2000000
!
interface Serial3/0
 no ip address
 channel-id 0
!
interface Serial0/1
 no ip address
 shutdown
 clockrate 2000000
!
interface Serial3/2:15
 description PSTN Connectivity-TELKOM-2837000
 no ip address
 encapsulation ppp
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn bchan-number-order ascending
!
interface Serial3/3:15
 description PSTN Connectivity-TELKOM
 no ip address
 encapsulation ppp
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn bchan-number-order ascending
!
interface Group-Async0
 no ip address
 group-range 1/00 2/107
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.20.10
no ip http server
!
!
!
snmp-server community accessleaf RO
snmp-server enable traps tty
!
!
voice-port 3/3:D
 cptone KE
 description ISDN PSTN connectvity-TELKOM
 bearer-cap Speech
!
voice-port 3/2:D
 cptone KE
 description ISDN PSTN connectvity-TELKOM
 bearer-cap Speech
!
!
!
dial-peer voice 100 voip
 huntstop
 destination-pattern .+
 voice-class codec 1
 session protocol sipv2
 session target ipv4:192.168.20.53
 dtmf-relay rtp-nte
!
!
!
line con 0
line aux 0
line vty 0 4
line 1/00 2/107
 modem InOut
!
scheduler allocate 10000 400
!
end

Potrebbero piacerti anche