====== 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 ccm-manager mgcp ccm-manager music-on-hold ! mgcp mgcp call-agent 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 {{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 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