Tuesday, January 25, 2011

SRST MGCP fall-back (show run)


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.02.08 12:41:13 =~=~=~=~=~=~=~=~=~=~=~=

Building configuration...


Current configuration : 7694 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Sushil
!
boot-start-marker
boot system flash c2800nm-advipservicesk9-mz.124-24.T.bin
boot-end-marker
!
card type t1 0 2
logging message-counter syslog
enable secret 5 $1$IBkO$o67yGOdc/3b.vBSGF1dHf/
enable password cisco
!
no aaa new-model
network-clock-participate wic 2
network-clock-select 1 T1 0/2/1
!
 --More--         dot11 syslog
ip source-route
!
ip traffic-export profile TAC-
! No outgoing interface configured
  bidirectional
! No destination mac-address configured
!
ip traffic-export profile TAC-205 mode capture
  bidirectional
!
!
ip cef
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.10.2
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.20.2
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
 --More--         !
!
stcapp ccm-group 1
!
!
isdn switch-type primary-4ess
!
!
!
voice service pots
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 fax protocol cisco
 sip
  registrar server expires max 1200 min 300
!
!
!
!
!
 --More--         !
!
!
!
!
!
!
!
!
!
voice register global
 mode cme
 source-address 192.168.7.23 port 5060
 max-dn 10
 max-pool 5
 tftp-path flash:
 create profile sync 0391284274416101
!
voice register dn  1
 number 101
 name SIP1
 label SIP1
!
 --More--         voice register dn  2
 number 102
 name SIP2
 label SIP2
!
voice register pool  1
 id mac 000C.292A.CB32
 number 1 dn 1
 codec g711ulaw
!
voice register pool  2
 id mac 000C.29B9.8216
 number 1 dn 1
 codec g711ulaw
!
voice hunt-group 1 longest-idle
 final 2501
 list 2501,2502,2503
 timeout 12
 pilot 1000
!
!
voice logout-profile 1
 --More--         pin 12345
 user 1005 password 12345
 number 1005 type normal
!
voice logout-profile 6
 pin 12345
 user 1006 password 12345
 number 1006 type normal
!
!
voice translation-rule 1
 rule 1 /2517/ /2518/
!
voice translation-rule 231
!
voice translation-rule 2001
 rule 1 /2510/ /2599/
!
!
voice translation-profile ABHI1
 translate called 2001
!
voice translation-profile Incoming
 --More--         translate called 1
!
voice translation-profile name
 translate called 1
!
!
voice-card 0
 dsp services dspfarm
!
!
application
 service aa flash:bacdprompts/app-b-acd-aa-2.1.2.2.tcl
  paramspace english index 1
  param number-of-hunt-grps 2
  param menu-timeout 6
  param dial-by-extension-option 5
  param handoff-string aa
  paramspace english language en
  param max-time-vm-retry 2
  param max-extension-length 4
  param aa-pilot 9990832271
  paramspace english location flash:
  param second-greeting-time 30
 --More--          param welcome-prompt _bacd_welcome.au
  param call-retry-timer 10
  param voice-mail 9999
  param max-time-call-retry 120
  param service-name queue
 !
 service queue flash:bacdprompts/app-b-acd-2.1.2.2.tcl
  param queue-len 10
  param aa-hunt1 2555
  param number-of-hunt-grps 2
  param aa-hunt2 3555
  param queue-manager-debugs 1
 !
 global
  service alternate DEFAULT
 !
!
!
!
!
!
archive
 log config
 --More--          hidekeys
!
!
!
!
!
controller T1 0/2/0
 shutdown
 cablelength long 0db
!
controller T1 0/2/1
 cablelength long 0db
 pri-group timeslots 1-24 service mgcp
!
ip ftp username cisco
ip ftp password cisco
gw-accounting syslog
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.7.205 255.255.255.0
 --More--         ip nat outside
 ip virtual-reassembly
 ip traffic-export apply TAC-205 size 5242880
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.18.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface Serial0/2/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.7.1
 --More--         ip route 172.17.1.0 255.255.255.0 172.18.1.254
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:
!
!
!
!
!
!
!
!
tftp-server flash:jar41sccp.8-3-3ES2.sbn
tftp-server flash:SCCP41.8-3-3SR2S.loads
tftp-server flash:apps45.8-3-4-16.sbn
tftp-server flash:cvm45sccp.8-3-4-16.sbn
tftp-server flash:dsp45.8-3-4-16.sbn
tftp-server flash:apps41.8-5-3TH1-6.sbn
tftp-server flash:cnu41.8-5-3TH1-6.sbn
tftp-server flash:cvm41sccp.8-5-3TH1-6.sbn
tftp-server flash:dsp41.8-5-3TH1-6.sbn
tftp-server flash:jar41sccp.8-5-3TH1-6.sbn
 --More--         tftp-server flash:SCCP41.8-5-3S.loads
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:P00308000500.bin
tftp-server flash:P00308000500.loads
tftp-server flash:P00308000500.sb2
tftp-server flash:P00308000500.sbn
!
control-plane
!
!
!
voice-port 0/0/0
 auto-cut-through
 type 5
 signal immediate
 input gain 3
 output attenuation 3
 timeouts ringing infinity
 station-id name 5001 TELCO
 station-id number 5001
!
voice-port 0/0/1
 --More--         type 5
 timeouts ringing infinity
 station-id name 5002 TELCO FXS
 station-id number 5002
!
voice-port 0/2/1:23
 echo-cancel coverage 64
 local-alerting
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 192.168.12.109
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 192.168.12.109
ccm-manager config
!
mgcp
mgcp call-agent 192.168.12.109 2427 service-type mgcp version 0.1
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
 --More--         mgcp default-package mt-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 ecm
mgcp fax t38 inhibit
mgcp behavior g729-variants static-pt
!
mgcp profile default
!
sccp local FastEthernet0/0
sccp ccm 192.168.12.78 identifier 1 version 7.0
sccp
!
sccp ccm group 1
 associate ccm 1 priority 1
 associate profile 1 register xcoder123
!
dspfarm profile 1 transcode
 codec g711ulaw
 codec g711alaw
 codec g729ar8
 codec g729abr8
 --More--         codec ilbc
 maximum sessions 10
 associate application SCCP
!
!
dial-peer voice 11 voip
 destination-pattern 9999
 session protocol sipv2
 session target ipv4:192.168.7.209
 dtmf-relay rtp-nte
 codec g711ulaw
!
dial-peer voice 205 pots
 incoming called-number 25..
 direct-inward-dial
!
dial-peer voice 14 voip
 shutdown
 incoming called-number 25..
!
dial-peer voice 12 voip
 destination-pattern 20901
 session target ipv4:192.168.7.209
 --More--         !
dial-peer voice 1001 pots
 destination-pattern 3000$
 forward-digits all
!
dial-peer voice 111 voip
!
dial-peer voice 1111 pots
 preference 1
 destination-pattern 2.T
 incoming called-number .
 port 0/2/1:23
 forward-digits all
!
dial-peer voice 1112 pots
!
dial-peer voice 1113 voip
!
dial-peer voice 1003 pots
 destination-pattern 1003
 forward-digits all
!
dial-peer voice 5501 pots
 --More--         destination-pattern 5001
 port 0/0/0
!
dial-peer voice 5502 pots
 destination-pattern 5002
 port 0/0/1
!
dial-peer voice 300 pots
 incoming called-number 200.
 direct-inward-dial
 forward-digits 4
!
dial-peer voice 1 pots
 destination-pattern 9T
 incoming called-number .
 direct-inward-dial
 port 0/2/1:23
!
dial-peer voice 2 pots
 service mgcpapp
 incoming called-number .
 direct-inward-dial
 port 0/2/1:23
 --More--         !
!
sip-ua
 authentication username abhi password 7 01100F175804 realm eeme
 registrar ipv4:192.168.7.21 expires 100
!
!
!
call-manager-fallback
 secondary-dialtone 0
 max-conferences 8 gain -6
 transfer-system full-consult
 timeouts interdigit 5
 ip source-address 192.168.7.205 port 2000
 max-ephones 24
 max-dn 48
 dialplan-pattern 1 969353.. extension-length 4 extension-pattern 53..
 time-format 24
 date-format dd-mm-yy
!
!
line con 0
 privilege level 15
 --More--         line aux 0
line vty 0 4
 password cisco
 no login
line vty 5 15
 no login
!
scheduler allocate 20000 1000
end

Sushil#

1 comment:

  1. ## MGCP Fall Back SRST configuration ##

    application
    global
    service alternate default
    !
    ccm-manager fallback-mgcp
    ccm-manager redundant-host X.X.X.X
    ccm-manager mgcp
    ccm-manager config server X.X.X.X
    !
    mgcp
    mgcp call-agent X.X.X.X service-type mgcp version 0.1
    mgcp rtp unreachable timeout 1000 action notify
    mgcp modem passthrough voip mode nse
    mgcp package-capability rtp-package
    no mgcp package-capability res-package
    mgcp package-capability sst-package
    no mgcp package-capability fxr-package
    mgcp package-capability pre-package
    no mgcp timer receive-rtcp
    mgcp sdp simple
    mgcp fax t38 inhibit
    mgcp rtp payload-type g726r16 static
    mgcp bind control source-interface GigabitEthernet0/0
    mgcp bind media source-interface GigabitEthernet0/0
    !
    mgcp profile default
    !
    call-manager-fallback
    secondary-dialtone 9
    max-conferences 8 gain -6
    transfer-system full-consult
    limit-dn 7940 2
    limit-dn 7960 2
    ip source-address X.X.X.X port 2000 ------------------------------> IP address of the call manager
    max-ephones 20
    max-dn 32
    dialplan-pattern 1 972....... extension-length 4
    access-code pri 9 direct-inward-dial
    !
    dial-peer voice 100 pots
    service mgcpapp
    incoming called-number .
    port 0/0/1:23
    !
    dial-peer voice 101 pots
    service mgcpapp
    incoming called-number .
    port 0/0/0:23
    !
    dial-peer voice 200 pots
    description ** Primary - Incoming Call Dial Peer **
    incoming called-number .
    direct-inward-dial
    port 0/0/0:23
    !
    dial-peer voice 201 pots
    description ** Secondary - Incoming Call Dial Peer **
    incoming called-number .
    direct-inward-dial
    port 0/0/1:23
    !
    dial-peer voice 208 pots
    description ** Primary - 10 Digit Dial Peer **
    destination-pattern 9[2-9]..[2-9]......
    port 0/0/0:23
    !
    dial-peer voice 209 pots
    description ** Secondary - 10 Digit Dial Peer **
    preference 1
    destination-pattern 9[2-9]..[2-9]......
    port 0/0/1:23

    ReplyDelete