© 2006 Cisco Systems, Inc. All rights reserved.GWGK v2.02-1 Cisco IP Communications PSTN and PBX Integrations Implementing Analog and Digital CAS Trunks.

Презентация:



Advertisements
Похожие презентации
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring PSTN Interfaces and Voice Dial Peers Configuring Analog and Digital Voice Interfaces.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. CVOICE v Configuring Voice Networks Configuring Router Voice Ports.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Completing ISDN Calls Configuring ISDN BRI and PRI.
© 2006 Cisco Systems, Inc. All rights reserved. CVOICE v Configuring Voice Networks Configuring Dial Peers.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring PSTN Interfaces and Voice Dial Peers Analog and Digital Voice Interfaces.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Designing Cisco CallManager Express and Cisco Unity Express Networks Deploying Voice Mail.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring PSTN Interfaces and Voice Dial Peers Call Setup and Digit Manipulation.
© 2006 Cisco Systems, Inc. All rights reserved. CVOICE v Configuring Voice Networks Configuring Voice Port Network Connections.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Module Summary PSTN and PBX trunks are implemented using analog or digital voice interface.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Dial Plans on Cisco IOS Gateways Implementing Multisite Dial Plans on Cisco IOS Gateways.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Monitoring and Troubleshooting BGP.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v IP-to-IP Gateway Enterprise Deployments Implementing IP-to-IP Gateways.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring PSTN Interfaces and Voice Dial Peers Dial Peers.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring PSTN Interfaces and Voice Dial Peers Class of Restriction.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Cisco IP Communications PSTN and PBX Integrations Introducing PSTN and PBX Trunks.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Attributes Setting BGP Local Preferences.
© 2006 Cisco Systems, Inc. All rights reserved.ONT v Describe Cisco VoIP Implementations Implementing Voice Support in an Enterprise Network.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Gatekeeper Deployments Implementing Advanced Gatekeeper Functionality.
Транксрипт:

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Cisco IP Communications PSTN and PBX Integrations Implementing Analog and Digital CAS Trunks

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Analog and Digital CAS Interfaces Send DNIS Receive DNIS Send ANI Receive ANI Signaling FXOXX loopstart groundstart FXS-DIDXX loopstart groundstart CAMAX E&MXX Wink-start delay-dial Immediate- start T1 CAS FG-BXXXE&M T1 CAS FG-DXXXE&M T1 CAS FG-D EANA XXXE&M E1R2XXXXR2

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring Analog PSTN Trunks: Standard FXO Phone Phone Denver voice-port 0/0/0 signal groundstart connection plar opx 4001 dial-peer voice 90 pots destination-pattern 9T port 0/0/0 ephone 1 button 1:1 ephone-dn 1 number 4001 Router3 PSTN FXO Inbound calls should be routed to 4001

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring Analog PSTN Trunks: Solving Supervisory Disconnect Issues The near-end or far-end port may not disconnect call when either end of the call hangs up. Use groundstart instead of loopstart signaling if possible. Additional mechanisms enabled per default: –Power denial-based supervisory disconnect –Battery reversal Configure tone-based supervisory disconnect if problems still exist.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Configuring Analog PSTN Trunks: Solving Supervisory Disconnect Issues (Cont.) Phone Phone Denver voice-port 0/0/0 signal groundstart connection plar opx 4001 supervisory disconnect signal ! default battery-reversal ! default cptone us supervisory disconnect dualtone mid-call timeouts wait-release 5 timeouts call-disconnect 5 dial-peer voice 90 pots destination-pattern 9T port 0/0/0 Router3 FXO

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring Analog PSTN Trunks: FXO Outbound and FXS Inbound DID Trunks Phone Phone Denver voice-port 0/0/0 signal did wink-start voice-port 0/1/0 signal groundstart dial-peer voice 1 pots incoming called-number. direct-inward-dial port 0/0/0 dial-peer voice 90 pots destination-pattern 9T port 0/1/0 Router3 PSTN FXO outbound 0/1/0 FXS-DID inbound 0/0/0DID support

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring Analog PSTN Trunks: CAMA Trunks Phone Phone Chicago Router3 PSTN T1 PRI for standard calls PSAP CAMA trunk for emergency calls voice-port 0/0/0:23 ! voice-port 1/1/1 ani mapping signal cama KP-NPD-NXX-XXXX-ST dial-peer voice 911 pots destination-pattern 911 port 1/1/1 dial-peer voice 90 pots destination-pattern 9..T port 0/0/0:23

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v FXO Power Failover: NM-HDA with EM-HDA-4FXO EM-HDA-4FXO Red (emergency) phone Power Fail Relay To PSTN 4 FXO Ports The Red phone is normally disconnected, but during power failure, it has a direct metallic path to the PSTN via a relay on the EM-HDA-4FXO. x/0/4 x/0/5 x/0/6 x/0/7 x/0/14 x/0/15 x/0/16 x/0/17 EM Slot 0 EM Slot 1

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v FXO Power Failover: NM-HDA Pinout 25 4 FXS ports on the base NM-HDA Ports on EM Slot 1 Bottom 4 for FXO (15-18) All 8 for FXS Ports on EM Slot 1 Bottom 4 for FXO (5-8) All 8 for FXS FXO Power Failover 50-pin RJ-21 connector Unused

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v FXO Power Failover: EVM-HD Pinout Ports on EM 1 Ports on EM 0 8 FXS/DID baseboard ports

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring E&M Trunks Router3 voice-port 0/0/0 signal wink-start ! default operation 4-wire type 5 dial-peer voice 10 pots destination-pattern 1... direct-inward-dial port 0/0/0 E&M trunk Wink start Type 5 Four-wire Inbound DNIS Outbound DNIS

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Verifying Analog Trunks show voice call voice-port router# Router#show voice call 0/0/0 0/0/0 vtsp level 0 state = S_CONNECTvpm level 1 state = FXOGS_OFFHOOK vpm level 0 state = S_UP calling number, calling name unavailable, calling time 07/17 12:11 ***DSP VOICE TX STATISTICS*** Tx Vox/Fax Pkts: 11964, Tx Sig Pkts: 0, Tx Comfort Pkts: 0 Tx Dur(ms): , Tx Vox Dur(ms): , Tx Fax Dur(ms): 0 ***DSP VOICE RX STATISTICS*** Rx Vox/Fax Pkts: 11946, Rx Signal Pkts: 0, Rx Comfort Pkts: 0 Rx Dur(ms): , Rx Vox Dur(ms): , Rx Fax Dur(ms): 0 Rx Non-seq Pkts: 0, Rx Bad Hdr Pkts: 0 Rx Early Pkts: 0, Rx Late Pkts: 0... Displays detailed information about an active call

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Verifying Analog Trunks (Cont.)... ***DSP VOICE VP_DELAY STATISTICS*** Clk Offset(ms): , Rx Delay Est(ms): 65 Rx Delay Lo Water Mark(ms): 65, Rx Delay Hi Water Mark(ms): 65 ***DSP VOICE VP_ERROR STATISTICS*** Predict Conceal(ms): 190, Interpolate Conceal(ms): 0 Silence Conceal(ms): 0, Retroact Mem Update(ms): 0 Buf Overflow Discard(ms): 0, Talkspurt Endpoint Detect Err: 0 ***DSP LEVELS*** TDM Bus Levels(dBm0): Rx from PBX/Phone, Tx to PBX/Phone TDM ACOM Levels(dBm0): +6.0, TDM ERL Level(dBm0): +6.0 TDM Bgd Levels(dBm0): -73.4, with activity being silence ***DSP VOICE ERROR STATISTICS*** Rx Pkt Drops(Invalid Header): 0, Tx Pkt Drops(HPI SAM Overflow): 0

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v T1 CAS Overview T1 CAS uses inband robbed-bit signaling Signaling for a particular traffic circuit is permanently associated with that circuit. Signaling is based on analog signaling: loopstart, groundstart, and E&M variants. E&M supports various feature groups.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v T1 CAS Overview (Cont.) 24 * 8 bits + 1 bit = 1 frame (193 bits) 12 frames = Super Frame Time slot 7 bits + 1 robbed-bit Time slot 8 bits 24 * (7 bits + 1 robbed-bit) + 1 bit = 1 frame (193 bits) T1 CAS Super Frame Format 1 Bit Sync.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v T1 CAS Overview (Cont.) 24 * 8 bits + 1 bit = 1 frame (193 bits) 24 frames = Extended Super Frame Time slot 7 bits + 1 robbed-bit Time slot 8 bits T1 CAS Extended Super Frame Format * (7 bits + 1 robbed-bit) + 1 bit = 1 frame (193 bits) 1 Bit Sync.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring T1 CAS Trunks: E&M FGD Phone Phone Boston controller T1 0/0/0 framing esf linecode b8zs ds0-group 0 timeslots 1-24 type e&m-fgd ! voice-port 0/0/0:0 ! dial-peer voice 90 pots destination-pattern 9T port 0/0/0:0 direct-inward-dial PSTN T1 CAS E&M FG-D Inbound DNIS and ANI Outbound DNIS Router2

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Configuring T1 CAS Trunks: Inbound E&M FGD and Outbound FGD EANA Phone Phone Boston controller T1 0/0/0 framing esf linecode b8zs ds0-group 0 timeslots 1-12 type e&m-fgd ds0-group 1 timeslots type fgd-eana voice-port 0/0/0:0 voice-port 0/0/0:1 dial-peer voice 1 pots incoming called-number. port 0/0/0:0 dial-peer voice 90 pots destination-pattern 9T port 0/0/0:1 Router2 PSTN E&M FGD time slots 1-12, receive ANI E&M FGD EANA time slots 13-24, send ANI

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v E1 R2 CAS E1 R2 usage of E1 multiframe format: Consists of 16 consecutive 256-bit frames Frame consists of 32 time slots: –Time slot 1 is used exclusively for frame synchronization –Time slots 2–16 and 18–32 carry actual voice traffic –Time slot 17 is used for signaling: 1st Frame1 declares the multiframe format Frames 2–16 carry ABCD bits for two voice slots Supports inbound and outbound DNIS and ANI

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v E1 R2 CAS (Cont.) Time slot 17 Frame 1Indicates start of multiframe Frames 2–16Carry signaling (ABCD bits) for two voice channels Time slot 1 Frame Synchronization frames = Multiframe 2048 Mbps 1. Frame: Start of Multiframe 2. Frame: Signaling for Voice Slots 2 and Frame: Signaling for Voice Slots 3 and Frame: Signaling for Voice Slots 4 and Frame: Signaling for Voice Slots 5 and Frame: Signaling for Voice Slots 6 and Frame: Signaling for Voice Slots 7 and Frame: Signaling for Voice Slots 8 and Frame: Signaling for Voice Slots 9 and Frame: Signaling for Voice Slots 10 and Frame: Signaling for Voice Slots 11 and Frame: Signaling for Voice Slots 12 and Frame: Signaling for Voice Slots 13 and Frame: Signaling for Voice Slots 14 and Frame: Signaling for Voice Slots 15 and Frame: Signaling for Voice Slots 16 and 32

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Configuring E1 R2 Trunks Phone Phone Shanghai controller E1 0/0/0 ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani cas-custom 0 country china dial-peer voice 90 pots destination-pattern 9T port 0/0/0:0 direct-inward-dial Router5 E1R2 CAS Inbound DNIS and ANI Outbound DNIS and ANI

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Verifying CAS Trunks show voice call 0/0/0:0 router# Router#show voice call 0/0/0:0... 0/0/0:0 2 vtsp level 0 state = S_CONNECTvpm level 1 state = FGD_OFFHOOK vpm level 0 state = S_UP... Displays the state of each CAS channel

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Verifying CAS Trunks (Cont.) debug vpm signal router# Router#debug vpm signal *Jul 18 13:31:12.632: htsp_process_event: [0/0/0:0(5), FGD_ANI_DIGIT, E_VTSP_DIGIT]fgd_ani_digit_digitfgd_stop_timers *Jul 18 13:31:12.632: htsp_timer_stop fgd_start_timer: ms *Jul 18 13:31:12.632: htsp_timer msec *Jul 18 13:31:12.832: htsp_digit_ready(0/0/0:0(5)): digit = 1 *Jul 18 13:31:12.832: htsp_process_event: [0/0/0:0(5), FGD_ANI_DIGIT, E_VTSP_DIGIT]fgd_ani_digit_digitfgd_stop_timers *Jul 18 13:31:12.832: htsp_timer_stop fgd_start_timer: ms *Jul 18 13:31:12.832: htsp_timer msec *Jul 18 13:31:13.032: htsp_digit_ready(0/0/0:0(5)): digit = 4 Debugs voice port module signaling, including CAS signaling

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Summary The chosen interface type and associated signaling impacts inbound and outbound DNIS and ANI capabilities. FXO trunks have no DID capabilities but can be configured to route calls to a specific extension, whereas FXS DID trunks can be configured for DID. FXO power failover allows you to cross-connect an analog trunk to a phone attached to an FXS port. E&M wire and type configuration needs to match on both sides of the trunk. The show voice call voice-port command gives detailed information about active calls on analog trunks. CAS trunks use in-band signaling, and the used feature group impacts inbound and outbound DNIS and ANI capabilities.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Summary (Cont.) CAS trunks are configured using the ds0-group controller command in conjunction with groundstart, loopstart, or E&M signaling. E1R2 CAS trunks use a dedicated signaling channel, where a single signaling frame controls two associated voice channels. E1R2 is configured using the ds0-group command in conjunction with R2 types. The debug vpm signal and the debug voip vtsp all commands show the signaling messages and digits exchanged via a CAS trunk.

© 2006 Cisco Systems, Inc. All rights reserved.GWGK v