融合通信技術個人筆記


《融合通信技術》筆記整理

        融合通信是指,把計算機技術與傳統通信技術融合一體的新通信模式,既融合計算機網絡與傳統通信網絡在一個網絡平台上,實現電話、傳真、數據傳輸、音視頻會議、呼叫中心、即時通信等眾多應用服務。而在融合通信中,網絡電話(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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM