Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CISCO_CVoice-003: analog and Digital Relay

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

This section mainly discusses the interface configuration and signaling behavior of analog voice.

Understanding of three concepts:

1. Voice interface: provides access and processing of analog relay and subscriber lines to realize the transmission of voice signals in the data network.

two。 Voice signaling: used to control circuit behavior, such as call establishment, dismantling, network management, etc.

3. Voice media: describe the transmission of information, negotiation and other information in a communication session

Taking the above topology diagram as an example, the following issues are discussed:

Interface connections in the lab environment, as shown in the figure above

Interface and dial-peer configuration

Signaling behavior

The problem of "eating number" in FXO mouth

The problem of Inter-bit timeout in FXS Port

Application of ConnectionPlar opx in FXO/FXS

Topological connections in a production environment

R1:

Dial-p voi 1000 pots-go to extension 1000

Destination-pattern 1000

Port 1-0-0

Exit

Dial-p voice 1001 pots-go to extension 1001

Destination-pattern 1001

Port 1-0-1

Exit

Dial-p voice 2000 pots-go to remote 2000

Destination-pattern 0T-T means any

Port 1-1-0

Exit

R2:

Dial-peer voice 2001 pots

Destination-pattern 2001

Port 1-0-0

Exit

Dial-peer voice 87651000 pots

Destination-pattern 87651000

No digit-strip

Port 1-0-1

The command explains:

1. There is a tick problem for analog port FXO (ports, including E1PowerT1 when connected as PSTN): for analog port dial-peer, when writing the command destination-pattern, all detail numbers under the command will be eaten, that is, will not be sent; "T" means all, "." Indicates an arbitrary. If you use 0T, 0 will be eaten and T (arbitrary) will be sent. If the S port is directly connected to the terminal phone, it doesn't matter if it is eaten. In the above configuration, because the S port is connected to the O port of R1, destination-pattern 87651000 is written here, then 87651000 will be eaten, and R1 will not receive the information of the dialed number. In this case, you can solve it through one of the three commands:

No digit-strip: don't eat the account.

Prefix 87651000: send again after adding 87651000

Forward digit all: forward all

two。 It is customary for users to pick up the phone and hear a dial tone before they start dialing. If they do not hear it or have heard it for a long time, it will cause the user to hang up the phone. For this reason, it is necessary to solve the problem of timeout, that is, inter-bit timeout.

Under dial-peer, add:

Timeouts interdigits 5: the dial-up will be over soon.

Timeouts initial: how long does the wait end without dialing?

Timeouts ring: hang up after ringing

/ / except under dial-peer, it can also be enabled under global telephony-service / /

The difference between 3.0T and 0.T

0T: when you dial 0, nothing will be dialed, and the signaling will be sent out after timeout (off-hook to R2, R2 will also respond to you, link is occupied, R2 will provide 2 dial tones)

0.T: when you dial 0, nothing will be dialed, the line will not be triggered and the line will not be occupied after timeout. (the route will be hit only if you hit the two digits, and the signaling will be sent. Note that there is a ".")

4. Optional configuration of O port and S port

O: 1. Ring number: ring several times before responding

2. Supervisory disconnect: actively monitor hang-up tone

S: 1. Cptone CN: each country has a different ring tone

2. Disconnect-ack: s port provides information hang-up tone

3. Sation id name: identifies the host

5. Signaling behavior:

5.1. 1001 off-hook (IN direction of the FXS port of R1)

5.2. R1 emits dialtong (dial tone)

5.3. 1001 start dialing 1002 (DTMF)

5.4. R1 begins to look up the voice routing table, 1002 at FXS 1-0-1.

5.5. FXS port on 1-0-1 by idle-ringing, and send ringback to 1001

5.6. 1002 off-hook, on-hook-off-hook (port 1-0-1)

5.7. Start the call.

Call in of 6.PSTN and its solution

In the real world, PSTN will not send a number to FXO, so it is not available at this time. Solution:

6.1 translation rule conversion

6.2 connection plar opx, force connection to extension

Voice port 1-1-0

Ring number 3

Connection plar opx 1000

6.3 connection plar application scenarios

6.3.1: the FXO port cannot automatically answer when it detects ring signaling. Use this command to connect to the switchboard.

The 6.3.2:FXS port can directly talk to the remote end when it picks up the phone, which is generally used for emergency calls.

Voice-port 1-0-1

Cptone CN

Connection plar 1001

7. Several test commands

7.1 test voice port 1-0-0 relay ring?-Test signaling behavior

Disable

On

Off

7.2 csim start 1000-Test Voice routing on a Router

7.3 debug voice dialpeer inout-check for dial-peer hits

7.4 sh dial-peer voice sum-check the voice routing tabl

8. Signaling behavior in the direction of exit and entry of FXS / FXO port

Interface

Signalling

IN

OUT

FXS

On-hook

Off-hook

Idle

Ring

FXO

Idle

Ring

On-hook

Off-hook

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report