User Tools

Site Tools


eduardo:cisco:gw:gw-cas

CAS

T1 CAS

* Configure T1 card

card type t1 0 0
network-clock-participate wic 0 
!
controller T1 0/0/1
  framing esf
  linecode b8zs

H.323 or SIP

  • Divide up T1 CAS channels
    • e&m-fgd - to receive ANI
    • fgd-eana - to send ANI
controller T1 0/0/1
  ds0-group 0 timeslots 1-5 type e&m-fgd
  ds0-group 1 timeslots 6-10 type fgd-eana
  • The following voice ports will be connected
    • voice-port 0/0/1:0 - for ds0-group 0
    • voice-port 0/0/1:1 - for ds0-group 1
voice-port 0/0/1:0
  timing dialout-delay 300
!
voice-port 0/0/1:1
  timing dialout-delay 300
  • Configure Dial Peer to voice port
dial-peer voice 1 pots
  destination-pattern .T
  incoming called-number .
  direct-inward-dial
  port 0/0/1:1

MGCP

  • MGCP only support e&m-wink-start?
controller T1 0/3/0
  ds0-group 0 timeslots 1-2 type e&m-wink-start
  • The following voice port gets created
voice-port 0/3/0:0
 echo-cancel enable type hardware
  • Make sure the first dial-peer is configured with service mgcp
dial-peer voice 1 pots
  service mgcpapp
  port 0/3/0:0
  • Configure MGCP parameters
hostname ccie-srst-gw
!
ccm-manager switchback immediate
ccm-manager fallback-mgcp 
ccm-manager redundant-host <cucm-pub>
ccm-manager mgcp
ccm-manager music-on-hold
!
mgcp
mgcp call-agent <cucm-pub> service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
no mgcp timer receive-rtcp
!
  • Required to support SRST?
application
  global
    service alternate Default
  • Add MGCP gateway as normal

  • Add port as Digital Access T1

  • Configure MGCP gateway

  • Add new port

  • Select port type as EANDM

  • Configure
    • start and end ports
    • Port direction
    • Calling Party Selection
    • Num Digits - number of digits to strip down to?
    • Expected Digits - this seem to have to match the number of digits coming in as DNIS?

E1 CAS

* Configure E1 card

card type e1 0 0
network-clock-participate wic 0 

H.323 or SIP

  • Divide up E1 CAS channels
controller E1 0/0/1
 ds0-group 0 timeslots 1-10 type r2-digital r2-compelled ani
 cas-custom 0
  timer interdigit incoming 1000
  • The following voice ports will be created
voice-port 0/0/1:0
  • Configure Dial Peer to voice port
dial-peer voice 999 pots
 destination-pattern 999
 no digit-strip
 port 0/0/1:0
!
dial-peer voice 2 pots
 destination-pattern .T
 port 0/0/1:0
eduardo/cisco/gw/gw-cas.txt · Last modified: 2024/02/23 08:19 by 127.0.0.1