|
Home > Archive > Voice over IP Cisco > January 2006 > PSTN to SIP Configuration
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
PSTN to SIP Configuration
|
|
| Raymond Macharia 2006-01-03, 7:45 am |
| 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
as5350#
Thank you
Regards
--
Raymond
| |
| Klaus Darilion 2006-01-03, 7:45 am |
| Hi Raymond!
Take a look at this project:
http://www.enum.at/index.php?id=380
The configuration included in
http://www.enum.at/fileadmin/public/files.zip will show you how to
configure a cisco GW.
regards
klaus
Raymond Macharia wrote:
> 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 <http://192.168.20.1> 255.255.255.0
> <http://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 <http://0.0.0.0> 0.0.0.0 <http://0.0.0.0> 192.168.20.10
> <http://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 <http://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
>
> as5350#
>
>
> Thank you
>
> Regards
>
> --
> Raymond
>
>
> ------------------------------------------------------------------------
>
> ________________________________________
_______
> cisco-voip mailing list
> cisco-voip@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
| |
| Raymond Macharia 2006-01-06, 7:45 am |
| Hello Klaus,
Thanks for the link. It pointed me in the right direction and at least now
the as5350 is picking the calls and giving me a tone (not modem tone like
before)
But I have hit another wall, the voip peer is giving me a cause code 57 "bearer
capability not authorized (57)". Not sure whether it is the as5350 or my SIP
proxy server causing this. I have gone through various sites but non give a
proper explanation why this happnes.
I am still going through the sites hoping to find something useful that will
help me sort this out.
Anyone with a clue how to sort this out, this are my current voice
configurations:
________________________________________
________________________________________
________
voice-port 3/2:D
input gain 14
echo-cancel coverage 32
timeouts wait-release 10
description ISDN PSTN connectvity-TELKOM-2837000
bearer-cap Speech
!
!
!
dial-peer voice 1 pots
shutdown
no digit-strip
direct-inward-dial
port 3/2:D
!
dial-peer voice 2 pots
destination-pattern .+
no digit-strip
port 3/2:D
forward-digits all
!
dial-peer voice 100 voip
huntstop
destination-pattern .+
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.16.53:5060
dtmf-relay rtp-nte
no vad
!
!
sip-ua
sip-server ipv4:192.168.16.53:5060
!
________________________________________
________________________________________
________
On 1/3/06, Klaus Darilion <klaus.mailinglists@pernau.at> wrote:
>
> Hi Raymond!
>
> Take a look at this project:
> http://www.enum.at/index.php?id=380
>
> The configuration included in
> http://www.enum.at/fileadmin/public/files.zip will show you how to
> configure a cisco GW.
>
> regards
> klaus
>
> Raymond Macharia wrote:
> -------------------------------------------------------------------------------------------------
> Cache
>
>
--
Raymond Macharia
|
|
|
|
|