融合通信技术个人笔记
《融合通信技术》笔记整理
融合通信是指,把计算机技术与传统通信技术融合一体的新通信模式,既融合计算机网络与传统通信网络在一个网络平台上,实现电话、传真、数据传输、音视频会议、呼叫中心、即时通信等众多应用服务。而在融合通信中,网络电话(VoIP)是其中的重点。
一、show命令
show diag 查看硬件资源
show version 查看软件资源
show voice dsp detail 查看DSP资源
show voice port summary 查看全部语音接口
show dial peer voice summary 查看语音路由
show run 显示配置信息
show ip route 显示路由信息
show ip int bri 查看接口状态及ip地址
Show controller e1/t1 0/0/0查看配置信息
Show interface s0/0/0:0子接口 查询宽带大小
show isdn status 显示所有 ISDN 接口或特定 ISDN 接口的状态
show network clocks查看网络时钟选择。
二、模拟语音(fxs——fxo ,rj11)
1、S(link—state)链路状态路由选择协议——OSPF
DV(distance—vector)距离矢量路由选择协议——RIP
网络层:路由转发
路由:多余路由的控制层面(control panel)就是形成路由在数据没有到达之前完成,这是工作的第一层面,也就是基础工作。
转发:路由器形成路由的目的是当有数据包过来时,路由依赖FIB,转发数据。
Cisco语音方向发展阶段
模拟—数字—VOIP—统一通信—协作
PSTN(Public Switched telephone network)公用交换电话网
模拟信号 —— 数字信号 modem 调制解调器
Ring-down 振铃电路
PCM(Pulse code modulation)采集、量化、编码
2、POTS(plain old telephone service):将号码拨打的号码串映射到本地网关上的具体语言接口,可以将网关连接到PSTN,PBX或模拟电话。
3、VOIP(voice over ip)将号码映射到终结呼叫的目的VOIP设备的IP地址或DNS名称,用于VOIP协议,比如H.323和STP。
4、 MMOIP(multimedia mail over ip)将号码映射到SMIP服务器的邮件地址用于储存和转发传真。
5、最常见的Dial Peer 类型
POTS(plain old telephone service) 这类Dial peer将用户拨打的号码串映射到本地网关上的具体语音网关。这个语音接口将网关连接到PSTN、PBX或模拟电话
VoIP(Voice over IP)这类Dial peer 将号码映射到终端呼叫的目的VoIP设备的IP地址或DNS名称,用于VoIP协议,比如H323和Sip。
MMoIP(Multimedia Mail over IP) 这类Dial peer 将号码映射到SMTP服务器的邮件地址,用于储存和转发传真。
6、匹配号码串特殊表达式:
0~9、A~D、*、#:显示在拨号标准键盘上的标准字符:数字0~9,字母A~D星号*和井号;
+:用于字符串的首位时,表明这个字符串是E.164标准号码,否则表示该符号的字符chuxian1次或多次;
.:匹配任意字符(用作通配符);
%:表示该符号前的字符出现0次或多次;
?:表示该符号前的字符出现0次或1次;
^:匹配字符串的开始;
$:匹配字符串的结束;
T:计时器字符,表明这是一个变长的字符串。告诉路由器在进行呼叫路由转发前需要等待一段时间直到收集到所有字符为止。
\:后面跟随单一字符,并匹配该字符。
[]:表示一个指定的范围。
():表示一个特的范围。
7、常见的呼叫进行音:
拨号音(dial tone):表示CO电话公司已做好从用户电话接受号码的准备;
忙音(busty tone):表示由于远端电话已在使用中,因此不能完成呼叫;
回铃音(ring-back tone):表示电话公司正在尝试为用户完成呼叫;
拥塞(congestion):电话拥塞,不能完成呼叫;
重播音(recorder tone):重新拨号;
听筒摘机音(receiver off-hook tone):表示电话的听筒已经在很长的时间处于 摘机状态;
空号音(no such number tone):找不到用户拨打号码。
8、FXS(foreign exchange station):终端设备
FXO(foreign exchange office):中继(trunk)接口
9、local loop-start(本地环路启动):
control panel
a、摘机:电话—R,on-hook——off-hook,FXS 0/1/0 IN-STATUS 管理信令,R收到信令变化后,R发出dial-tone(拨号音)信息信令;
b、拨号:地址信令(DTMF);
c、R收到地址信令,通过dialplan(dial-peer)寻址找到相应的出接口;
d、R给相应出接口一个信令ringring FXS OUT-STATUS 管理信令;
e、对方摘机,on-hook——off-hook FXS 0/1/1 IN-STATUS 管理信令
———正常通话 media pannel——
双方挂机 off-hook——on-hook
10、 相关命令及其对应含义
dial-peer voice tag pots 配置dial-peer,在传统语音中,dial- peer为号码与接口对应关系。
pref xx 、forward-digits all、no digit-strip:防止号码摘除命令。
timeouts interdigit x :修改位间超时,默认为10秒。
ring-num x:fxo口应答次数,也就是对方听到回铃音次数。
connection plar opx xxx :fxo口不挂断。
connection plar xxx :热线,用在fxs口热线配置中。
num-exp 1 1001 :速拨,拨打1代替1001。
CME-Rack7 (config-voiceport)# cptone cn(CPtone 改为为CN)
CME-Rack7 (config-voiceport)# signal groundstart(trunk链路信令 为groundstart)
11、 三网融合:电信网、广电网、互联网 voice vedio data
NGN(Next Genteration Network):下一代网络 1024k=1M 1024M=1G
IP(Internet Protocd):网际协议
Voice 通过IP搭建在data上
(一)本地环路启动模拟语音实验
1、拓扑图:
2、命令
CME-Rack7(config)#dial-peer voice 1 pots
CME-Rack7(config-dial-peer)#destination-pattern 7001
CME-Rack7(config-dial-peer)#port 0/1/0
CME-Rack7(config-dial-peer)#end
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#dial-peer voice 2 pots
CME-Rack7(config-dial-peer)#destination-pattern 7002
CME-Rack7(config-dial-peer)#port 0/1/1
CME-Rack7(config-dial-peer)#end
(二)远程环路启动模拟语音实验
1、 逻辑拓扑图
2、命令
R7:
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#dial-peer voice 1 pots
CME-Rack7(config-dial-peer) #destination-pattern 7001
CME-Rack7(config-dial-peer) #port 0/1/0
CME-Rack7(config-dial-peer) #exit
CME-Rack7(config)#dial-peer voice 2 pots
CME-Rack7(config-dial-peer) #destination-pattern 8001
CME-Rack7(config-dial-peer) #port 0/2/0
CME-Rack7(config-dial-peer) #forward-digits all
CME-Rack7(config-dial-peer) #exit
CME-Rack7(config)#voice-port 0/2/0
CME-Rack7(config-voiceport) #connection plar opx 7001
CME-Rack7(config-voiceport) #end
CME-Rack7#show dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE
1 pots up up 7001 0 up 0/1/0
2 pots up up 8001 0 up 0/2/0
R8:
CME-Rack8#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#dial-peer voice 1 pots
CME-Rack8(config-dial-peer) #destination-pattern 8001
CME-Rack8(config-dial-peer) #port 0/1/0
CME-Rack8(config-dial-peer) #exit
CME-Rack8(config)#dial-peer voice 2 pots
CME-Rack8(config-dial-peer) #destination-pattern 7001
CME-Rack8(config-dial-peer) #port 0/1/1
CME-Rack8(config-dial-peer) #forward-digits all
CME-Rack8(config-dial-peer) #end
CME-Rack8#show dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE
1 pots up up 8001 0 up 0/1/0
2 pots up up 7001 0 up 0/1/1
三、数字语音(T1/E1 ,rj48)
G703 Channel—group 0 unframed
DATA
G704 Channel—group 0 timeslots x—y
Digital trunk
CAS(inbound)ds0—group timeslots x—y type
voice
CCS(isdn) pri—group timeslots x—y
BRI =2B+D
CCS E1 30B+D
PRI
T1 23B+D
1、A/D(模拟到数字变化过程)
(1)Sample the analog signal regularly(有规律的采样模拟信号)
(2)Quantize the sample(量化采样点)
(3)Encode the value into a binary expression(将value值编码成二进制表达式)
(4)Compress the samples to reoluce bandwidth(压缩采样点,以减少宽带(可选))
(5)Decompress the samples ,if compressed(解压缩采样点)
(6)Decode the samples into voltage amplitudes,rebuilding the PAM signal(解码采样点,成为电压幅值,重建脉冲振幅调制信号)
(7)Filter the signal to remove any noise(过滤信号,剔除噪音)
2、相关知识点
T1 E1
B channel(bearer channel)业务通道
D channel(demand channel)信令通道
CAS channel associate signal 随路信令 随着语音信道发送信令信息
CCS channel common signal 共路信令 通过专门信道发送信令信息
Frame unframe
BRI(basic rate interface)基本速率接口
BRI(primary rate interface)基群速率接口
T1 SF 超级帧=12frames
EFS =24fames
T1 CAS:robbed-bit signal 夺位信令
E1 Multiframe 复用帧=16 frame
T1 CAS \E1 CAS on brand signal 带内信令
T1:1.544MBPS
703 1.544MBPS全部传输信令,是unframe标准(没有同步位),不支持传统语音。
G704 即支持语音同时支持数据,是frame标准(存在同步位)。1.544mbps-8kbps=1.536mbps
E1:
G703 2.048MBPS
G704 2.048MBPS-64KBPS=1.984MBPS
时分多路复用技术 TDM
服用标准
T1/E1 T1 24路 v=1.544mb/s u率 1比同步
E1 32路 v=2.068mb/s A率 8同步
时隙 8bit 帧25bit
G704: frame G703:unframe
Q921:数据链路层 Q931:网络层
(一)E1的G704传输数据实验
拓扑图:
命令:
R7:
CME-Rack7(config)#controller e1 0/0/0
CME-Rack7 (config-controller)# channel-group 2 timeslots 1-31
CME-Rack7 (config-controller)#exit
CME-Rack7 (config)#exit
CME-Rack7#config t
CME-Rack7 (config)#int s 0/0/0:2
CME-Rack7 (config-if)#ip add 11.11.11.11 255.255.255.0
CME-Rack7 (config-if)#exit
CME-Rack7 (config)# int loopback 0
CME-Rack7 (config-if)#ip add 202.206.80.1 255.255.255.0
CME-Rack7 (config-if)#exit
CME-Rack7#config t
CME-Rack7 (config)#router ospf 1
CME-Rack7 (config-router)#router-id 1
CME-Rack7 (config-router)#router-id 1.1.1.1
CME-Rack7 (config-router)#network 11.11.11.0 0.0.0.255 area 0
CME-Rack7 (config-router)#network 202.206.80.0 0.0.0.255 area 0
CME-Rack7 (config-router)#exit
CME-Rack7#ping 202.206.81.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 202.206.81.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
R8:
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#controller e1 0/0/0
CME-Rack8(config-controller)#channel-group 2 timeslots 1-31
CME-Rack8(config)#end
CME-Rack8#show ip int bri
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.10 10.10.10.8 YES NVRAM up up
GigabitEthernet0/0.81 192.168.81.254 YES NVRAM up up
GigabitEthernet0/0.82 192.168.82.254 YES NVRAM up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0:2 unassigned YES unset down down
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#int s0/0/0:2
CME-Rack8(config-if)#ip add 11.11.11.12 255.255.255.0
CME-Rack8(config-if)#exit
CME-Rack8(config)#int loopback 0
CME-Rack8(config-if)#ip add 202.206.81.1 255.255.255.0
CME-Rack8(config-if)#exit
CME-Rack8(config)#router ospf 1
CME-Rack8(config-router)#router-id 2.2.2.2
CME-Rack8(config-router)#network 11.11.11.0 0.0.0.255 area 0
CME-Rack8(config-router)#network 202.206.81.0 0.0.0.255 area 0
CME-Rack8(config-router)#end
CME-Rack8#ping 202.206.80.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 202.206.80.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
(二)T1的G704传输数据实验
拓扑图:
R7:
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#card type t1 0 0
CME-Rack7(config)#controller t1 0/0/0
CME-Rack7(config-controller)#channel-group 0 timeslots 1-24
CME-Rack7(config-controller)#exit
CME-Rack7(config)#end
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config-if)#int s0/0/0:0
CME-Rack7(config-if)#ip add 1.1.1.1 255.255.255.0
CME-Rack7(config-if)#exit
CME-Rack7(config)#int loo 0
CME-Rack7(config-if)#ip add 202.206.80.8 255.255.255.0
CME-Rack7(config-if)#exit
CME-Rack7(config)#end
CME-Rack7#show ip int bri
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.10 10.10.10.7 YES NVRAM up up
GigabitEthernet0/0.71 192.168.71.254 YES NVRAM up up
GigabitEthernet0/0.72 192.168.72.254 YES NVRAM up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0:0 1.1.1.1 YES manual up down
Loopback0 202.206.80.8 YES manual up up
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#router ospf 1
CME-Rack7(config-router)#network 1.1.1.1 0.0.0.255 area 0
CME-Rack7(config-router)#network 202.206.80.0 0.0.0.255 area 0
CME-Rack7(config-router)#exit
CME-Rack7(config)#end
CME-Rack7#ping 202.206.81.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 202.206.81.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R8:
CME-Rack8#con t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#card type t1 0 0
CME-Rack8(config)#controller t1 0/0/0
CME-Rack8(config-controller)#channel-group 0 timeslots 1-24
CME-Rack8(config-controller)#end
CME-Rack8#show ip int bri
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.10 10.10.10.8 YES NVRAM up up
GigabitEthernet0/0.81 192.168.81.254 YES NVRAM up up
GigabitEthernet0/0.82 192.168.82.254 YES NVRAM up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0:0 unassigned YES unset up up
CME-Rack8#con t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#int s0/0/0:0
CME-Rack8(config-if)#ip add 1.1.1.2 255.255.255.0
CME-Rack8(config-if)#exit
CME-Rack8(config)#int loopback 0
CME-Rack8(config-if)#ip add 202.206.81.1 255.255.255.0
CME-Rack8(config-if)#exit
CME-Rack8(config)#router ospf 1
CME-Rack8(config-router)#network 1.1.1.0 0.0.0.255 area 0
CME-Rack8(config-router)#network 202.206.81.0 0.0.0.255 area 0
CME-Rack8(config-router)#end
CME-Rack8#ping 202.206.80.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 202.206.80.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
CME-Rack8#
(三)E1的CAS实验
拓扑图:
命令:
R7:
CME-Rack7#con t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#card type e1 0 0
CME-Rack7(config)#network-clock-participate wic 0
CME-Rack7(config)#controller e1 0/0/0
CME-Rack7(config-controller)# ds0-group 0 timeslots timeslots 1-20 type fxs-ground-start
CME-Rack7(config-controller)#end
CME-Rack7#show voice port su
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
=============== == ============ ===== ==== ======== ======== ==
0/0/0:0 01 fxs-gs up down on-hook idle y
0/0/0:0 02 fxs-gs up down on-hook idle y
0/0/0:0 03 fxs-gs up down on-hook idle y
0/0/0:0 04 fxs-gs up down on-hook idle y
0/0/0:0 05 fxs-gs up down on-hook idle y
0/0/0:0 06 fxs-gs up down on-hook idle y
0/0/0:0 07 fxs-gs up down on-hook idle y
0/0/0:0 08 fxs-gs up down on-hook idle y
0/0/0:0 09 fxs-gs up down on-hook idle y
0/0/0:0 10 fxs-gs up down on-hook idle y
0/0/0:0 11 fxs-gs up down on-hook idle y
0/0/0:0 12 fxs-gs up down on-hook idle y
0/0/0:0 13 fxs-gs up down on-hook idle y
0/0/0:0 14 fxs-gs up down on-hook idle y
0/0/0:0 15 fxs-gs up down on-hook idle y
0/0/0:0 17 fxs-gs up down on-hook idle y
0/0/0:0 18 fxs-gs up down on-hook idle y
0/0/0:0 19 fxs-gs up down on-hook idle y
0/0/0:0 20 fxs-gs up down on-hook idle y
0/1/0 -- fxs-ls up dorm on-hook idle y
0/1/1 -- fxs-ls up dorm on-hook idle y
0/2/0 -- fxo-ls up dorm idle on-hook y
0/2/1 -- fxo-ls up dorm idle on-hook y
PWR FAILOVER PORT PSTN FAILOVER PORT
================= ==================
CME-Rack7#con t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#dial-peer voice 1 pots
CME-Rack7(config-dial-peer)#destination-pattern 7001
CME-Rack7(config-dial-peer)#port 0/1/0
CME-Rack7(config-dial-peer)#exit
CME-Rack7(config)#dial-peer voice 2 pots
CME-Rack7(config-dial-peer)#destination-pattern ....
CME-Rack7(config-dial-peer)#port 0/0/0:0
CME-Rack7(config)#end
R8:
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#card type e1 0 0
CME-Rack8(config)#network-clock-participate wic 0
CME-Rack8(config)#controller e1 0/0/0
CME-Rack8(config-controller)#ds0-group 0 timeslots 1-20 type fxo-ground-start
CME-Rack8(config-controller)#end
CME-Rack8#show voice port summary
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
=============== == ============ ===== ==== ======== ======== ==
0/0/0:0 01 fxo-gs up dorm idle on-hook y
0/0/0:0 02 fxo-gs up dorm idle on-hook y
0/0/0:0 03 fxo-gs up dorm idle on-hook y
0/0/0:0 04 fxo-gs up dorm idle on-hook y
0/0/0:0 05 fxo-gs up dorm idle on-hook y
0/0/0:0 06 fxo-gs up dorm idle on-hook y
0/0/0:0 07 fxo-gs up dorm idle on-hook y
0/0/0:0 08 fxo-gs up dorm idle on-hook y
0/0/0:0 09 fxo-gs up dorm idle on-hook y
0/0/0:0 10 fxo-gs up dorm idle on-hook y
0/0/0:0 11 fxo-gs up dorm idle on-hook y
0/0/0:0 12 fxo-gs up dorm idle on-hook y
0/0/0:0 13 fxo-gs up dorm idle on-hook y
0/0/0:0 14 fxo-gs up dorm idle on-hook y
0/0/0:0 15 fxo-gs up dorm idle on-hook y
0/0/0:0 17 fxo-gs up dorm idle on-hook y
0/0/0:0 18 fxo-gs up dorm idle on-hook y
0/0/0:0 19 fxo-gs up dorm idle on-hook y
0/0/0:0 20 fxo-gs up dorm idle on-hook y
0/1/0 -- fxs-ls up dorm on-hook idle y
0/1/1 -- fxs-ls up dorm on-hook idle y
PWR FAILOVER PORT PSTN FAILOVER PORT
================= ==================
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#dial-peer voice 1 pots
CME-Rack8(config-dial-peer)#destination-pattern 8001
CME-Rack8(config-dial-peer)#port 0/1/0
CME-Rack8(config-dial-peer)#exit
CME-Rack8(config)#dial-peer voice 2 pots
CME-Rack8(config-dial-peer)#destination-pattern ....
CME-Rack8(config-dial-peer)#port 0/0/0:0
CME-Rack8(config-dial-peer)#exit
CME-Rack8(config)#voice-port 0/0/0:0
CME-Rack8(config-voiceport)#connection plar opx 8001
CME-Rack8(config-voiceport)#end
(四)E1的CCS实验
拓扑图:
R7:
CME-Rack7#config t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack7(config)#card type e1 0 0
CME-Rack7(config)#network-clock-participate wic 0
CME-Rack7(config)#isdn switch-type primary-net5
CME-Rack7(config)#controller e1 0/0/0
CME-Rack7(config-controller)#pri-group timeslots 7-12
CME-Rack7(config-controller)#clock source internal
CME-Rack7(config-controller)#int s 0/0/0:15
CME-Rack7(config-if)#isdn protocol-emulate network
CME-Rack7(config-if)#exit
CME-Rack7(config)#dial-peer voice 1 pots
CME-Rack7(config-dial-peer)#destination-pattern .T
CME-Rack7(config-dial-peer)#port 0/0/0:15
CME-Rack7(config-dial-peer)#exit
CME-Rack7(config)#dial-peer voice 2 pots
CME-Rack7(config-dial-peer)#destination-pattern 7001
CME-Rack7(config-dial-peer)#port 0/1/0
CME-Rack7(config-dial-peer)#exit
CME-Rack7(config)#end
CME-Rack7#show network-clocks
Network Clock Configuration
---------------------------
Priority Clock Source Clock State Clock Type
10 Backplane GOOD PLL
Current Primary Clock Source
---------------------------
Priority Clock Source Clock State Clock Type
10 Backplane GOOD PLL
CME-Rack7#show isdn status
Global ISDN Switchtype = primary-net5
ISDN Serial0/0/0:15 interface
******* Network side configuration *******
dsl 0, interface ISDN Switchtype = primary-net5
Layer 1 Status:
ACTIVE
Layer 2 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: 0x80000FC0
Number of L2 Discards = 0, L2 Session ID = 17
Total Allocated ISDN CCBs = 0
R8:
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#card type e1 0 0
CME-Rack8(config)#network-clock-participate wic 0
CME-Rack8(config)#network-clock-select 1 e1 0/0/0
CME-Rack8(config)#exit
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#isdn switch-type primary-net5
CME-Rack8(config)#controller e1 0/0/0
CME-Rack8(config-controller)#pri-group timeslots 7-12
CME-Rack8(config-controller)#exit
CME-Rack8(config)#interface serial 0/0/0:15
CME-Rack8(config-if)#isdn protocol-emulate user
CME-Rack8(config-if)#end
CME-Rack8#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CME-Rack8(config)#dial-peer voice 1 pots
CME-Rack8(config-dial-peer)#destination-pattern 8001
CME-Rack8(config-dial-peer)#port 0/1/0
CME-Rack8(config-dial-peer)#exit
CME-Rack8(config)#dial-peer voice 2 pots
CME-Rack8(config-dial-peer)#destination-pattern .T
CME-Rack8(config-dial-peer)#port 0/0/0:15
CME-Rack8(config-dial-peer)#end
四、 VoIP语音
Voip到底是什么?关键技术是什么?
关键在于中间工作的四个层次的工作原理。具体说,信令与媒体工作在两个层次,在保证连接完成且通信的基础上,传输语言流。在建立通道时,选择恰当的信令(SIP、SCCP等)以保证媒体在通道上正常传输,媒体在传输前需要在表示层完成编解码处理。
相关命令:
CME-Rack7(config)#dial-peer voice 1 voip
CME-Rack7(config-dial-peer)#destination-pattern 8001
CME-Rack7(config-dial-peer)#session target ipv4:10.10.10.8
CME-Rack8(config)#dial-peer voice 1 voip
CME-Rack8(config-dial-peer)#destination-pattern 7001
CME-Rack8(config-dial-peer)#session target ipv4:10.10.10.7