01-05-2010 04:46 AM - edited 03-15-2019 08:56 PM
Hi All,
Does anybody know where I can get a sample configuration for a voice gateway with E1 r2-digital connections to STC in Riyadh. I can receive calls from the PSTN but outgoing calls fail.
I have the following configuration on my Router.
version 12.4
service timestamps debug datetime
service timestamps log datetime
service password-encryption
!
hostname vsaruhvgw02
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
logging buffered 51200
enable secret 5 <removed>
!
no aaa new-model
clock timezone MST 3
network-clock-participate wic 0
dot11 syslog
!
!
ip cef
!
!
ip domain name voice.ds.corp
ip name-server 10.10.140.30
ip name-server 10.11.140.30
multilink bundle-name authenticated
!
!
voice-card 0
dspfarm
!
!
!
voice service voip
h323
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-307895532
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-307895532
revocation-check none
rsakeypair TP-self-signed-307895532
!
!
crypto pki certificate chain TP-self-signed-307895532
certificate self-signed 01
3082024F 308201B8 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33303738 39353533 32301E17 0D303931 32323931 31313935
.
.
FB9FEC73 75316441 33C46993 B6656DA0 CA67FA
quit
!
!
username admin privilege 15 secret 5 <removed>
archive
log config
hidekeys
!
!
controller E1 0/0/0
framing NO-CRC4
ds0-group 0 timeslots 1-10 type r2-digital r2-compelled ani
ds0-group 1 timeslots 11-15,17-30 type r2-digital r2-compelled ani
cas-custom 0
country saudiarabia
ani-digits min 4 max 20
cas-custom 1
country saudiarabia use-defaults
!
controller E1 0/0/1
!
!
!
!
!
interface GigabitEthernet0/0
description LAN Connection
ip address 10.10.140.11 255.255.255.0
duplex auto
speed auto
h323-gateway voip bind srcaddr 10.10.140.11
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.10.140.254
!
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
!
!
control-plane
!
!
!
voice-port 0/0/0:0
cptone SA
!
voice-port 0/0/0:1
cptone SA
!
!
no mgcp timer receive-rtcp
!
!
!
dial-peer voice 1 pots
destination-pattern .T
direct-inward-dial
port 0/0/0:1
!
dial-peer voice 1000 voip
preference 1
destination-pattern 68..
session target ipv4:10.10.140.1
dtmf-relay h245-alphanumeric
codec g711ulaw
!
!
gateway
timer receive-rtp 1200
!
!
line con 0
exec-timeout 120 0
login local
line aux 0
line vty 0 4
exec-timeout 0 0
privilege level 15
login local
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp clock-period 17180112
ntp server 10.10.140.1
ntp server 10.10.140.2
!
end
Thanks
01-17-2011 12:08 AM
Thanks for the reply.
I thought I had a unique case.
Im still confused on how to do what you have suggested, I realize through debugging exactly what you have explained, but unfortunately, Im not quite sure how to do a by-pass solution.
Thanks,
Emad
01-17-2011 01:19 AM
Hi,
I built on your comment and got it working to show as "main" number.. tricky, but works.
Thanks for your guidance.
Emad
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide