VoIP_Conceptos Voice Ports y Dial Peers

Download VoIP_Conceptos Voice Ports y Dial Peers

Post on 21-Apr-2015

13 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

<p>VOICE PORTS</p> <p>VoIP - JVM2012</p> <p>1</p> <p>Voice PortsTelephone to WANVoice Port Voice Port</p> <p>FXS (Analog)</p> <p>T1 or E1 or ISDN (Digital) Voice Port</p> <p>IP WAN or PSTN</p> <p>Telephone to PSTN</p> <p>Voice Port</p> <p>FXS (Analog)</p> <p>FXO (Analog)</p> <p>PSTN</p> <p>PBX to PBX over WANVoice Port Voice Port Voice Port Voice Port</p> <p>E&amp;M (Analog)</p> <p>T1, E1, or ISDN (Digital)</p> <p>IP WAN or PSTN</p> <p>VoIP - JVM2012</p> <p>T1, E1, or ISDN (Digital)</p> <p>T1, E1, or ISDN QSIG (Digital)</p> <p>2</p> <p>Signaling InterfacesTelephone to WANVoice Port Voice Port</p> <p>FXS</p> <p>T1 or E1 or ISDN Voice Port</p> <p>WAN or PSTN</p> <p>Telephone to PSTN</p> <p>Voice Port</p> <p>FXS</p> <p>FXO</p> <p>PSTN</p> <p>PBX to PBX over WANVoice Port Serial or T1 Serial or T1 Voice Port</p> <p>E&amp;MPBX</p> <p>T1, E1, or ISDN</p> <p>WAN</p> <p>T1, E1, or ISDN</p> <p>VoIP - JVM2012</p> <p>T1, E1, or ISDN QSIG (Digital)</p> <p>PBX3</p> <p>Analog Voice PortsFXS</p> <p> FXS: Connects directly to end-user equipment such as telephones, fax</p> <p>machines, or modems</p> <p>FXO</p> <p>FXO</p> <p>PSTN</p> <p> FXO: Used for trunk, or tie line, connections to a PSTN CO or to a PBX that does not support E&amp;M signaling</p> <p>E&amp;M</p> <p>WAN or PSTN</p> <p>E&amp;M</p> <p> E&amp;M: Most common form of analog trunk circuitVoIP - JVM2012 4</p> <p>Analog Signaling Supervisory signaling Loop-start Ground-start</p> <p> Address signaling Pulse DTMF (Dual-tone multi-frequency signaling)</p> <p> Informational signaling Call progress tones</p> <p>VoIP - JVM2012</p> <p>5</p> <p>DTMF FrequenciesFrequencies 1209 1336 1477</p> <p>697770 852 941</p> <p>14 7</p> <p>25 8 0</p> <p>36 9 #</p> <p>*</p> <p>Network Call Progress TonesTone Dial Busy Ringback, normal Ringback, PBX Congestion (Toll) Reorder (Local) Frequency (Hz) 350 + 440 480 + 620 440 + 480 440 + 480 480 + 620 480 + 6201400 + 2060 + 2450 + 2600</p> <p>On Continuous 0.5 2 1 0.2 0.3</p> <p>Off</p> <p>0.5 4 3 0.3 0.2</p> <p>Receiver off-hook No such number</p> <p>0.1</p> <p>0.1</p> <p>200 400</p> <p>Continuous, FM = frequency modulation 1 HZ</p> <p>Analog Voice Ports FXS (Loop-Start Signaling, Ground-Start Signaling) FXO (Loop-Start Signaling, Ground-Start Signaling) E&amp;M (Immediate-Start Signaling, Wink-Start Signaling, Delay-Start Signaling)</p> <p>VoIP - JVM2012</p> <p>8</p> <p>FXS Voice Port Configuration ExampleLiverpoolVoice Port 0/2/0WAN</p> <p>Router(config)# voice-port 0/2/0 Router(config-voiceport)# signal groundstart Router(config-voiceport)# cptone GB Router(config-voiceport)# ring cadence pattern01 Router(config-voiceport)# no shutdown</p> <p>VoIP - JVM2012</p> <p>9</p> <p>Timers and Timing Configuration timeouts initial timeouts interdigit timeouts ringing timing digit timing interdigit timing hookflash-in and hookflash-out</p> <p>VoIP - JVM2012</p> <p>10</p> <p>Timers and Timing Configuration (Cont.)</p> <p>Router(config)# voice-port 0/1/0 Router(config-voiceport)# timeouts initial 15 Router(config-voiceport)# timeouts interdigit 15 Router(config-voiceport)# timeouts ringing 240 Router(config-voiceport)# timing hookflash-in 500</p> <p>VoIP - JVM2012</p> <p>11</p> <p>Verifying Voice Ports1. 2. 3. 4. 5. 6. Check for dial tone (FXS only). Check for DTMF tones (FXS only). Use the show voice port command to check the configuration. Use the show voice port command to ensure that the port is enabled. Be sure that the PBX configuration is compatible with the voice port. Check the physical installation of the hardware.</p> <p>VoIP - JVM2012</p> <p>12</p> <p>show CommandsCommand show voice port show voice port x/y/z show voice port summary Description Shows all voice port configurations in detail Shows one voice port configuration in detail Shows all voice port configurations in brief Shows all voice ports configured as busyout</p> <p>show voice busyout show voice dsp show controller T1 | E1</p> <p>Shows all DSP statuses Shows the operational state of the controller</p> <p>show voice port router# show voice port</p> <p>Foreign Exchange Station 0/0/0 Slot is 0, Sub-unit is 0, Port is 0 Type of VoicePort is FXS VIC2-2FXS Operation State is DORMANT Administrative State is UP No Interface Down Failure Description is not set Noise Regeneration is enabled Non Linear Processing is enabled Non Linear Mute is disabled Non Linear Threshold is -21 dB Music On Hold Threshold is Set to -38 dBm In Gain is Set to 0 dB Out Attenuation is Set to 3 dB Echo Cancellation is enabled Echo Cancellation NLP mute is disabled Echo Cancellation NLP threshold is -21 dB Echo Cancel Coverage is set to 64 ms Echo Cancel worst case ERL is set to 6 dB Playout-delay Mode is set to adaptive Playout-delay Nominal is set to 60 ms</p> <p>VoIP - JVM2012</p> <p>14</p> <p>show voice port summary router# show voice port summary PORT ========= 0/0/0 0/0/1 50/0/11 50/0/11 50/0/12 50/0/12 CH SIG-TYPE ADMIN == ============ ===== -- fxs-ls up -- fxs-ls up 1 efxs up 2 efxs up 1 efxs up 2 efxs up OPER ==== dorm dorm dorm dorm dorm dorm IN STATUS ======== on-hook on-hook on-hook on-hook on-hook on-hook OUT STATUS ======== idle idle idle idle idle idle EC == y y y y y y</p> <p>VoIP - JVM2012</p> <p>15</p> <p>show voice dsp router# show voice dsp DSP DSP DSPWARE CURR BOOT PAK TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT COUNT ==== === == ======== ======= ===== ======= === == ========= == ===== ============ edsp 001 01 g711ulaw 0.1 IDLE 50/0/11.1 edsp 002 02 g729r8 p 0.1 IDLE 50/0/11.2 edsp 003 01 g729r8 p 0.1 IDLE 50/0/12.1 edsp 004 02 g729r8 p 0.1 IDLE 50/0/12.2 TX/RX PACK</p> <p>----------------------------FLEX VOICE CARD 0 -----------------------------*DSP VOICE CHANNELS* DSP DSP DSPWARE CURR BOOT PAK TX/RX TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT ===== === == ======== ======= ===== ======= === == ========= == ==== ============ *DSP SIGNALING CHANNELS* DSP DSP DSPWARE CURR BOOT PAK TX/RX TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABRT PACK COUNT ===== === == ======== ======= ===== ======= === == ========= == ==== ============ C5510 001 01 {flex} 4.4.20 alloc idle 0 0 0/0/0 02 0 35/0 C5510 001 02 {flex} 4.4.20 alloc idle 0 0 0/0/1 02 0 33/0</p> <p>VoIP - JVM2012</p> <p>16</p> <p>test CommandsCommand Descriptiontest voice port detector {m- Used to test detector-related functions on a lead | battery-reversal | ring | tip-ground | voice port. ring-ground | ring-trip} {on | off | disable} Use the variable for digital voice ports. test voice port inject-tone {local | network} {1000hz | 2000hz | 200hz | 3000hz | 300hz | 3200hz | 3400hz | 500hz | quiet | disable} test voice port loopback {local | network | disable} Used to inject a test tone into a voice port. Use the variable for digital voice ports. Used to perform loopback testing on a voice port. Use the variable for digital voice ports.</p> <p>test voice port relay {elead | loop | ring-ground | battery-reversal | power-denial | ring | tip-ground} {on | off | disable}test voice port switch {fax | disable} csim start XXXX</p> <p>Used to test relay-related functions on a voice port. Use the variable for digital voice ports.Used to force a voice port into fax mode. Use the variable for digital voice ports. Used to initiate simulated calls to whichever real-world E.164 number is desired.</p> <p>Dial Peers</p> <p>VoIP - JVM2012</p> <p>18</p> <p>Dial Peers and Call LegsSourcePacket Network</p> <p>Destination</p> <p>Call Leg 1 (POTS dial peer)</p> <p>Call Leg 2 (VoIP dial peer)</p> <p>Call Leg 3 (VoIP dial peer)</p> <p>Call Leg 4 (POTS dial peer)</p> <p>VoIP - JVM2012</p> <p>19</p> <p>End-to-End CallsSourcePOTS Originating Gateway Call Leg 1 (POTS Dial Peer) R1 Inbound Call Leg 2 (Voice Network Dial Peer) R2 Outbound</p> <p>R1Packet Network</p> <p>R2</p> <p>DestinationPOTS</p> <p>Terminating Gateway Call Leg 3 (Voice Network Dial Peer) R2 Inbound Call Leg 4 (POTS Dial Peer) R2 Outbound</p> <p>VoIP - JVM2012</p> <p>20</p> <p>Types of Dial Peers A dial peer is an addressable call endpoint. Dial peers establish logical connections, called call legs, to complete an end-to-end call. Cisco voice-enabled routers support two types of dial peers: POTS dial peers: Define the characteristics of a traditional telephony network connection VoIP dial peers: Define the characteristics of a packet network connection</p> <p>VoIP - JVM2012</p> <p>21</p> <p>Dial PeerVoice-Enabled Router</p> <p>Telephony DevicePOTS Voice-Enabled Router</p> <p>VoIP</p> <p>Packet Network</p> <p>VoIP - JVM2012</p> <p>22</p> <p>POTS Dial PeersDial Peer 1</p> <p>Voice Port 1/0/0</p> <p>Router 1</p> <p>Extention 7777Configuration for Dial Peer 1 on Router 1:Router# configure terminal Router(config)# dial-peer voice 1 pots Router(config-dialpeer)# destination-pattern 7777 Router(config-dialpeer)# port 1/0/0 Router(config-Dialpeer)# end</p> <p>VoIP - JVM2012</p> <p>23</p> <p>VoIP Dial PeersR2(config)# dial-peer voice 2 pots R2(config-dial-peer)# destination pattern 8 R2(config-dial-peer)# forward-digits all R2(config-dial-peer)# port 1/0/0</p> <p>Extension 7777 is calling 8888</p> <p>R1IP Cloud Extension 7777R1(config)# dial-peer voice 2 voip R1 (config-dial-peer)# destination pattern 8 R1(config-dial-peer)# session target ipv4:10.18.0.1</p> <p>R21/0/0</p> <p>L0: 10.18.0.1</p> <p>PBX</p> <p>Extension 8888</p> <p>VoIP - JVM2012</p> <p>24</p> <p>Common Destination-Pattern Options+(Optional) Character indicating an E.164 standard number.</p> <p>string</p> <p>Series of digits that specify a pattern for the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9, the letters A through D, and the following special characters: The asterisk (*) and pound sign (#) that appear on standard touch-tone dial pads. Comma (,), which inserts a pause between digits. Period (.), which matches any entered digit (this character is used as a wildcard). Percent sign (%), which indicates that the preceding digit occurred zero or more times; similar to the wildcard usage. Plus sign (+), which indicates that the preceding digit occurred one or more times. Circumflex (^), which indicates a match to the beginning of the string. Dollar sign ($), which matches the null string at the end of the input string. Backslash symbol (\), which is followed by a single character, and matches that character. Can be used with a single character with no other significance (matching that character). Question mark (?), which indicates that the preceding digit occurred either zero times or one time. Brackets ([ ]) indicate a range. Parentheses (( )), which indicate a pattern. (Optional) Control character indicating that the value is a variable-length dial string. Using this control character enables the router to wait until all digits are received before routing the call. VoIP - JVM2012</p> <p>T</p> <p>25</p> <p>Matching Inbound Dial Peers Configurable parameters used for matching inbound dial peers: incoming called-number: Defines the called number or DNIS string answer-address: Defines the originating calling number or ANI string destination-pattern: Uses the calling number (originating or ANI string) to match the incoming call leg to an inbound dial peer Port: Attempts to match the configured dial-peer port to the voice port that is associated with the incoming call (POTS dial peers only)VoIP - JVM2012 26</p> <p>Default Dial Peer 0Dial Peer 1 1/0/0 R1 Dial Peer 2</p> <p>10.18.0.2IP Cloud R2 1/1/0</p> <p>Extension 7777</p> <p>Extension 8888</p> <p>dial-peer voice 1 pots destination 7777 port 1/0/0 dial-peer voice 2 voip destination-pattern 8888 session target ipv4:10.18.0.2</p> <p>dial-peer voice 3 pots destination 8888 port 1/1/0</p> <p>When extension 7777 calls extension 8888, there is no dial peer on router 2 with destination pattern 7777 to match the incoming call leg. Router 2 matches the default dial peer 0.VoIP - JVM2012</p> <p>27</p> <p>Default Dial Peer 0Dial Peer 1 10.18.0.1 1/0/0 R1 Dial Peer 2</p> <p>10.18.0.2IP Cloud R2 1/1/0</p> <p>Extension 7777</p> <p>Extension 8888</p> <p>dial-peer voice 1 pots destination 7777 port 1/0/0 dial-peer voice 2 voip destination-pattern 8888 session target ipv4:10.18.0.2</p> <p>dial-peer voice 3 pots destination 8888 port 1/1/0 dial-peer voice 4 voip destination-pattern 7777 session target ipv4:10.18.0.1</p> <p>VoIP - JVM2012</p> <p>28</p>