User Tools

Site Tools


eduardo:cisco:gw:gw-cas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
eduardo:cisco:gw:gw-cas [2011/01/21 03:28] eduardoeduardo:cisco:gw:gw-cas [2024/02/23 08:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== CAS ======
 +
 +====== T1 CAS ======
 + * Configure T1 card
 +<code>
 +card type t1 0 0
 +network-clock-participate wic 0 
 +!
 +controller T1 0/0/1
 +  framing esf
 +  linecode b8zs
 +</code>
 +
 +===== H.323 or SIP =====
 +  * Divide up T1 CAS channels
 +    * e&m-fgd - to receive ANI
 +    * fgd-eana - to send ANI
 +<code>
 +controller T1 0/0/1
 +  ds0-group 0 timeslots 1-5 type e&m-fgd
 +  ds0-group 1 timeslots 6-10 type fgd-eana
 +</code>
 +
 +  * 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
 +<code>
 +voice-port 0/0/1:0
 +  timing dialout-delay 300
 +!
 +voice-port 0/0/1:1
 +  timing dialout-delay 300
 +</code>
 +
 +  * Configure Dial Peer to voice port
 +<code>
 +dial-peer voice 1 pots
 +  destination-pattern .T
 +  incoming called-number .
 +  direct-inward-dial
 +  port 0/0/1:1
 +</code>
 +
 +===== MGCP =====
 +  * MGCP only support e&m-wink-start?
 +<code>
 +controller T1 0/3/0
 +  ds0-group 0 timeslots 1-2 type e&m-wink-start
 +</code>
 +
 +  * The following voice port gets created
 +<code>
 +voice-port 0/3/0:0
 + echo-cancel enable type hardware
 +</code>
 +
 +  * Make sure the first dial-peer is configured with service mgcp
 +<code>
 +dial-peer voice 1 pots
 +  service mgcpapp
 +  port 0/3/0:0
 +</code>
 +
 +  * Configure MGCP parameters
 +<code>
 +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
 +!
 +</code>
 +
 +  * Required to support SRST?
 +<code>
 +application
 +  global
 +    service alternate Default
 +</code>
 +
 +  * Add MGCP gateway as normal
 +{{gw-cas1.png|}}
 +
 +  * Add port as Digital Access T1
 +{{gw-cas2.png|}}
 +
 +  * Configure MGCP gateway
 +{{gw-cas3.png|}}
 +
 +  * Add new port
 +{{gw-cas4.png|}}
 +
 +  * Select port type as EANDM
 +{{gw-cas5.png|}}
 +
 +  * 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?
 +{{gw-cas6.png|}}
 +
 +====== E1 CAS ======
 + * Configure E1 card
 +<code>
 +card type e1 0 0
 +network-clock-participate wic 0 
 +</code>
 +
 +===== H.323 or SIP =====
 +  * Divide up E1 CAS channels
 +<code>
 +controller E1 0/0/1
 + ds0-group 0 timeslots 1-10 type r2-digital r2-compelled ani
 + cas-custom 0
 +  timer interdigit incoming 1000
 +</code>
 +
 +  * The following voice ports will be created
 +<code>
 +voice-port 0/0/1:0
 +</code>
 +
 +  * Configure Dial Peer to voice port
 +<code>
 +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
 +</code>
 +