In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Concept:
PRI is the most commonly used. T1 and E1 configurations are the same, but not as complex as CAS.
ISDN is a type of service, and the BRI,32B of 2B is called PRI, that is, E1. At present, many people use 30B+D in China, and ISP basically does not provide BRI services.
two。 The issues discussed are as follows:
Clock problem of T1 / E1
Pri0-group configuration of voice channels carried by digital lines
Debugging of Q.921 and Q.931 of ISDN / PRI
ISDN DNIS and DID
3. Topology Diagram:
R2 simulates the local end in the topology and is configured as follows:
Sh diag View the slot of E1 Interface Card
Isdn protocol-emulate network simulates the device of this interface as a network-side device
Card type E1 0 2 defines modules on slot 2 as E1 types
Network-clock-participate wic 2 turns on the clock function on VWIC slot 2
Network-clock-select 1 E1 0amp 2amp 0 configures the priority of the original clock
R2-Config
Card type E1 0 2
Network-clock-participate wic 2
Network-clock-select 1 e1 0/2/0
Controller e1 0/2/0
Frame crc 4
Linecode ami
Clock source internal
Pri-group 0 timeslots 1-6 / / this command automatically generates the virtual interfaces s0UniGur2UniGUR 15 and voice-port 0UniUnix 15, where the interface number is fixed, E1 voice-port 15, T1 voice-port 23. At this time, the number of timeslots is limited by the processing power of DSP / /
Isdn switch-type? / / maybe the features of IOS are different, some of which are NET5//
Basic-1tr6 1TR6 switch type for Germany
Basic-5ess Lucent 5ESS switch type for the U.S.
Basic-dms100 Northern Telecom DMS-100 switch type for theU.S.
Basic-net3 NET3 switch type for UK, Europe, Asia andAustralia
Basic-ni National ISDN switch type for the U.S.
Basic-qsig QSIG switch type
Basic-ts013 TS013 switch type for Australia (obsolete)
Ntt NTT switch type for Japan
Vn3 VN3 and VN4 switch types for France
Int s0/2/0:15
Isdn protocol-emulate network / / confirmed as office / /
Isdnincoming-voice voice / / default command, the incoming voice is handed over to DSP for processing / /
Dial-pvoi 1000 pots
Destination-pattern12341...
Forward-digitall / / forward all, which is equivalent to not checking account / /
Port0/2/0:15
Forward-digit4 / / reserved last 4 bits / /
Dial-p voi 2000pots
Detination-pattern2000
Port 1-0-0
R1-Config is basically the same as R2, except for the local office configuration.
Isdn switch-typebasic-net3
Card type E1 0 2
Network-clock-participate wic 2
Network-clock-select 1 e1 0/2/0
Controller e10/2/0
Frame crc 4
Linecode ami
Clock source line / / the clock source comes from the office / /
Pri-group 0 timeslots 1-6 / / consistent with the peer / /
Dial-peer voi 2000 pots
Destination-pattern 0T
Port 0/2/0:15
Dial-p voi 1000 pots
Destination-pattern 1000
Port 1-0-0
Check the connection of ISDN through sh isdn statues:
R1#sh isdn status
Global ISDN Switchtype = basic-net3
ISDN Serial0/2/0:15 interface dsl 0, interfaceISDN Switchtype = basic-net3
Layer1 Status: ACTIVE
Layer2 Status: TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status: 0 Active Layer 3 Call (s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x800FFFFF
Number of L2 Discards = 0, L2 Session ID = 47
Total Allocated ISDN CCBs = 0
As shown in the figure, the status of L 2 is MULTIPLE_FRAME_ESTABLISHED, indicating that the ISDN connection is normal.
Try 1000 to dial 2000 and find that you hear a "secondary dial tone" and the call cannot be established. Through debug q931, you can see that both plan and type are in unknown status.
Reason: the original behavior of PRI is to monitor the DTMF of B channel, but there is no DTMF in the connection phase, only signaling, at this time, the router does not find the corresponding number in B channel, so it sends a "secondary dial tone". At this time, the call number already exists, but in channel D, it is propagated through DNIS. This is what we call the "secondary dial tone" problem.
Solution: configure the DID function on R2 to listen for calling numbers in channel D. For DID, there are two functions, one is to monitor the DNIS in D channel, and the other is to dial in directly. The configuration is as follows:
R1 / R2:dial-p voi 1 pots
Incoming called-number. / / Please pay attention to this point, the meaning is to hit one person / /
Direct-inward-dial / / DID//
After configuring the above DID, try to make another call from R2 to 12341000 of R1 and find that it is not available at this time because R1 does not have a voice route to 12341000.
Settlement Act:
1. Manually add a voice route to R1, but in the actual production environment, there may be hundreds of phone numbers in the enterprise, which, if added one by one, will increase the workload of IT.
two。 Define conversion rules
Translation-rule 1max / define conversion rule 1max /
Rule 1 ^ 12341 1max / convert a number starting with 12341 to 1max /
Voice-port 0/2/0:15
Translate-called 1max / invokes conversion rule 1max / in the incoming direction of this interface
At this point, the phone can be connected, this translation rule is used to convert the inbound number, of course, can also be converted to the number. The conversion rules are described in the next section.
Some debugging commands:
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.