Options

Cisco 3825 - How to configure preferred codec for E1-PRI calls

KK2202KK2202 Registered Users Posts: 2 ■□□□□□□□□□
Hi all,

I want to have only g.711ulaw codec supported for all the E1-PRI calls. And calls on other codecs should fail.
Am unable to get that configuration. Kindly help.

Please find attached my current configuration.
Suggest how to configure the preferred codec for controllers E1 for E1-PRI calls.

Any pointers would be highly useful.

Thanks,
KK



Cisco3825-2#sh run
Building configuration...

Current configuration : 15700 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname Cisco3825-2
!
boot-start-marker
boot system flash:c3825-adventerprisek9-mz.124-23.15.T4
boot-end-marker
!
card type e1 2 1
logging message-counter syslog
logging queue-limit 10000
logging buffered 1000000
logging rate-limit 10000
no logging console
no logging monitor
!
no aaa new-model
clock timezone IST -5
network-clock-participate slot 2
!
dot11 syslog
ip source-route
ip cef
!
!
!
!
ip domain name cms.com
ip name-server 9.9.9.161
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-4ess
!
voice-card 0
dspfarm
dsp services dspfarm
!
voice-card 2
dspfarm
dsp services dspfarm
!
voice-card 2
dspfarm
dsp services dspfarm
!
!
voice rtp send-recv
!
voice service voip
fax protocol t38 ls-redundancy 5 hs-redundancy 2 fallback pass-through g711ulaw
h323
call start slow
!
!
!
voice class codec 4
codec preference 1 clear-channel
!
voice class codec 19
!
!
!
!
!
!
!
!
!
!
!
!
!
voice iec syslog
!
!
http client cache memory pool 15000
http client cache memory file 500
http client cache refresh 600
http client connection timeout 60
http client connection idle timeout 10
http client response timeout 30
ivr prompt memory 15000
ivr asr-server rtsp://asr-en-us/recognizer
ivr tts-server rtsp://tts-en-us/synthesizer
!
application
service new-call flash:bootstrap.vxml
!
service survivability flash:survivability.tcl
!
service ringtone flash:ringtone.tcl
!
service cvperror flash:cvperror.tcl
!
service handoff flash:handoff.tcl
!
service bootstrap flash:bootstrap.tcl
!
!
mrcp client timeout connect 10
mrcp client timeout message 10
mrcp client rtpsetup enable
vxml tree memory 500
!
crypto pki server Cisco3825-2
database level complete
grant auto
database url nvram
!
crypto pki trustpoint Cisco3825-2
revocation-check crl
rsakeypair Cisco3825-2
!
crypto pki trustpoint choc3825-2
enrollment url http://9.9.9.xxx:80
serial-number none
fqdn none
ip-address none
subject-name cn=choc3825-2CFB, ou=ABU, o=Cisco Systems Inc.
revocation-check none
rsakeypair choc3825-2
!
crypto pki trustpoint 10.77.31.180
enrollment terminal
revocation-check none
!
!
crypto pki certificate chain Cisco3825-2
certificate ca 01
30820205 3082016E A0030201 02020101 300D0609 2A864886 F70D0101 04050030
16311430 12060355 0403130B 43697363 6F333832 352D3230 1E170D31 31303330
31323035 3830355A 170D3134 30323238 32303538 30355A30 16311430 12060355
0403130B 43697363 6F333832 352D3230 819F300D 06092A86 4886F70D 01010105
0003818D 00308189 02818100 EE79FF31 E61C861B 8DEB6506 51D8511F CF3E09CB
169CD8D7 A91E25D5 0FFB319A A3368FFE DAA5CE33 55C8D806 D79EC1F7 CBF80530
CB116176 4174595C 2F74DB7D D6C22909 F23C25C1 A92DAB91 DC223067 95519126
F24C4EA9 DF9464B2 3981BE45 646502ED CFB740A4 027497C6 2130D9B8 4F47E283
80ACD8BF 1BD66AB2 5C67A3CF 02030100 01A36330 61300F06 03551D13 0101FF04
05300301 01FF300E 0603551D 0F0101FF 04040302 0186301F 0603551D 23041830
1680141C FEA754A7 194CC618 F96F1DAF 3291EDF4 C6D7C930 1D060355 1D0E0416
04141CFE A754A719 4CC618F9 6F1DAF32 91EDF4C6 D7C9300D 06092A86 4886F70D
01010405 00038181 002C6F1A D47870FE 1CFFED48 7CA1D8A1 FD2A635D C2EE370F
A3C56D62 57D520FA 734D400C 429DFFFF 9841F36C 95AF0753 D0523C39 1F919C99
9152C1C3 130E6CC6 A78CB8C3 61F23BA5 0459C9A7 34B9D69B B7FEA5C1 8C37BE7C
4A293BBB C2CB9627 99274C08 50E15284 5C0DD741 441281D6 177FB3AD 8247B14A
5F71B1FA E173643B D2
quit
crypto pki certificate chain choc3825-2
certificate 02
308201DA 30820143 A0030201 02020102 300D0609 2A864886 F70D0101 04050030
16311430 12060355 0403130B 43697363 6F333832 352D3230 1E170D31 31303330
31323130 3735375A 170D3132 30323239 32313037 35375A30 43311B30 19060355
040A1312 43697363 6F205379 7374656D 7320496E 632E310C 300A0603 55040B13
03414255 31163014 06035504 03130D63 686F6333 3832352D 32434642 305C300D
06092A86 4886F70D 01010105 00034B00 30480241 00C6BC82 7A28A149 AB0F2CD8
C7E6BA35 AFECC2BF C160FB5F AA49D8FD 132B7B1D 29ACC486 C7918178 1D787E4C
98600E6E 1AB98180 C7F3E7F3 0BD734F3 0C03EFC8 97020301 0001A34F 304D300B
0603551D 0F040403 0205A030 1F060355 1D230418 30168014 1CFEA754 A7194CC6
18F96F1D AF3291ED F4C6D7C9 301D0603 551D0E04 1604144E 1AEFA853 3AE3B902
92267A86 F300F582 6130A830 0D06092A 864886F7 0D010104 05000381 81006A6B
D833CDE0 181E4EA0 7E6FC3C2 C650CC2E 98FBF655 0E192E8D 16A64048 FCD8ADE6
D0DAE53C 8E683BE3 AAB34FE5 C188E277 BF90E4BE 5860E225 7FC66BF5 71AF0716
9D5689EC 5F5D371A 201DF924 7E674A32 525E9CF0 395C3139 14A48471 7497C70C
27FF0E1D 838F1F7D EF245061 5B57F988 3086570C 95B83099 6F58523C 6349
quit
certificate ca 01
30820205 3082016E A0030201 02020101 300D0609 2A864886 F70D0101 04050030
16311430 12060355 0403130B 43697363 6F333832 352D3230 1E170D31 31303330
31323035 3830355A 170D3134 30323238 32303538 30355A30 16311430 12060355
0403130B 43697363 6F333832 352D3230 819F300D 06092A86 4886F70D 01010105
0003818D 00308189 02818100 EE79FF31 E61C861B 8DEB6506 51D8511F CF3E09CB
169CD8D7 A91E25D5 0FFB319A A3368FFE DAA5CE33 55C8D806 D79EC1F7 CBF80530
CB116176 4174595C 2F74DB7D D6C22909 F23C25C1 A92DAB91 DC223067 95519126
F24C4EA9 DF9464B2 3981BE45 646502ED CFB740A4 027497C6 2130D9B8 4F47E283
80ACD8BF 1BD66AB2 5C67A3CF 02030100 01A36330 61300F06 03551D13 0101FF04
05300301 01FF300E 0603551D 0F0101FF 04040302 0186301F 0603551D 23041830
1680141C FEA754A7 194CC618 F96F1DAF 3291EDF4 C6D7C930 1D060355 1D0E0416
04141CFE A754A719 4CC618F9 6F1DAF32 91EDF4C6 D7C9300D 06092A86 4886F70D
01010405 00038181 002C6F1A D47870FE 1CFFED48 7CA1D8A1 FD2A635D C2EE370F
A3C56D62 57D520FA 734D400C 429DFFFF 9841F36C 95AF0753 D0523C39 1F919C99
9152C1C3 130E6CC6 A78CB8C3 61F23BA5 0459C9A7 34B9D69B B7FEA5C1 8C37BE7C
4A293BBB C2CB9627 99274C08 50E15284 5C0DD741 441281D6 177FB3AD 8247B14A
5F71B1FA E173643B D2
quit
crypto pki certificate chain 10.77.31.180
certificate ca 6645ABED6C4DA053CEC82471B8B47427
30820299 30820202 A0030201 02021066 45ABED6C 4DA053CE C82471B8 B4742730
0D06092A 864886F7 0D010105 0500306E 310B3009 06035504 06130249 4E311030
0E060355 040A1307 496E666F 73797331 0C300A06 0355040B 13035654 47311730
15060355 0403130E 63636D31 38302E63 6D732E63 6F6D3112 30100603 55040813
094B6172 6E617461 6B613112 30100603 55040713 0942616E 67616C6F 7265301E
170D3131 30323131 31313134 31375A17 0D313630 32313031 31313431 365A306E
310B3009 06035504 06130249 4E311030 0E060355 040A1307 496E666F 73797331
0C300A06 0355040B 13035654 47311730 15060355 0403130E 63636D31 38302E63
6D732E63 6F6D3112 30100603 55040813 094B6172 6E617461 6B613112 30100603
55040713 0942616E 67616C6F 72653081 9F300D06 092A8648 86F70D01 01010500
03818D00 30818902 818100BB 9156F346 DA0B805C B11B5C4E 9F71D353 25FF517F
CEF354EB E3099604 EA24CA6B D097AE5B 226D4813 A727FAE1 79F6B48A 67554078
32C54B5F B0C4B0A4 A5FC4730 BD4934CA EBB49689 F0B1DDC2 C2CE9305 815AABC7
45AA1F26 DD7CE884 20916D17 23AB9E5C E9B20092 C525C420 D1C78CF2 814FC8BE
06C60103 0B2F0F0E 5EDEDB02 03010001 A3383036 300B0603 551D0F04 04030202
BC302706 03551D25 0420301E 06082B06 01050507 03010608 2B060105 05070302
06082B06 01050507 0305300D 06092A86 4886F70D 01010505 00038181 0064B143
ACF06444 4D884CBA 133B076B E8A3E1EE A40229EE 2CF7882B 87F802A3 4D3167C8
36D5AA8C E906C154 649A8B82 1AEE4DC3 956B0F7A 9682522F 5F8176CF E135F41F
D87E21FC 7D9CEDEE A02FBE84 19F9B311 80612307 49E62836 27E8DBC8 80968FE0
C8ABB0CA B16584F8 BE6848EE 0F446DE7 C00E1070 B7B75118 84580E24 DF
quit
!
!
username cisco privilege 15 secret 5 $1$3s8a$ux1t2URCytYgsp7isMOwD.
archive
log config
hidekeys
!
!
!
!
!
controller E1 2/0
pri-group timeslots 1-31 service mgcp
!
controller E1 2/1
pri-group timeslots 1-31 service mgcp
!
ip ssh version 1
!
!
!
!
interface Tunnel1
no ip address
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 9.9.9.xxx 255.255.255.0
duplex auto
speed auto
media-type rj45
ip rsvp bandwidth 75000 75000
!
interface GigabitEthernet0/1
ip address 10.77.31.234 255.255.255.0
shutdown
duplex auto
speed auto
media-type rj45
ip rsvp bandwidth 75000 75000
!
interface Serial2/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
interface Serial2/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
ip default-gateway 9.9.9.1
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 9.9.9.1
ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
ip rsvp policy preempt
!
access-list 101 permit ip host 9.9.9.xxx host 10.77.31.188
access-list 101 permit ip host 9.9.9.xxx host 10.77.31.208
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 2/0:15
!
voice-port 2/1:15
!
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 10.77.31.198
ccm-manager config
!
mgcp
mgcp call-agent ccm198 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp codec g729ar8 packetization-period 10
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 ecm
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
mgcp behavior g729-variants static-pt
!
mgcp profile default
!
sccp local GigabitEthernet0/1
sccp ccm 10.77.31.196 identifier 196 priority 2 version 7.0
sccp ccm 10.77.31.208 identifier 20 priority 1 version 7.0
sccp ccm 10.77.31.189 identifier 189 priority 4 version 7.0
!
sccp ccm group 196
associate profile 1965 register MTP_HW_5
associate profile 1966 register MTP_HW_6
!
sccp ccm group 20
associate profile 117 register XCODER117
associate profile 1962 register XCODER1962
associate profile 2082 register MTP2082
associate profile 2081 register MTP2081
!
sccp ccm group 189
associate ccm 189 priority 1
associate profile 1893 register MTP_HW_2
associate profile 1892 register MTP_HW_1
associate profile 1891 register XCODER
associate profile 18911 register mtp_1891
associate profile 18922 register mtp_1892
!
dspfarm profile 1891 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec pass-through
codec g723r63
codec g723r53
codec ilbc
codec g729br8
codec g729r8
rsvp
associate application SCCP
shutdown
!
dspfarm profile 1962 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec pass-through
codec g723r63
codec g723r53
codec ilbc
codec g729br8
codec g729r8
rsvp
associate application SCCP
shutdown
!
dspfarm profile 1965 mtp
codec g711ulaw
codec pass-through
maximum sessions software 5
associate application SCCP
!
dspfarm profile 1966 mtp
codec g711ulaw
maximum sessions software 5
associate application SCCP
!
dspfarm profile 2082 mtp
codec g711ulaw
maximum sessions software 2
associate application SCCP
!
dspfarm profile 18911 mtp
codec g711ulaw
maximum sessions software 5
associate application SCCP
shutdown
!
dspfarm profile 18922 mtp
codec g711ulaw
maximum sessions software 5
associate application SCCP
shutdown
!
dspfarm profile 2081 mtp
codec g711ulaw
maximum sessions software 5
associate application SCCP
!
dial-peer voice 99921991 pots
service mgcpapp
!
dial-peer voice 101 pots
service mgcpapp
destination-pattern 500002
port 0/0/1
!
dial-peer voice 999000 pots
service mgcpapp
port 0/0/0
!
dial-peer voice 999001 pots
service mgcpapp
port 0/0/1
!
!
gateway
timer receive-rtp 1200
!
sip-ua
!
!
!
line con 0
login local
line aux 0
line vty 0 4
privilege level 15
login local
line vty 5 15
privilege level 15
login local
!
scheduler allocate 20000 1000
end

Comments

  • Options
    azaghulazaghul Member Posts: 569 ■■■■□□□□□□
    I'm fairly sure that E1/T1 cards will default to G711/clear per channel (because of their 64Kb nature) without the need to be configured. I'm not even sure you can change the codec (or would want to) on them.
  • Options
    sieffsieff Member Posts: 276
    the gateway is MGCP. just apply it in CCM on the regions.
    "The heights by great men reached and kept were not attained by sudden flight, but they, while their companions slept were toiling upward in the night." from the poem: The Ladder of St. Augustine, Henry Wadsworth Longfellow
Sign In or Register to comment.